Article View: news.software.readers
Article #257659Re: I prefer raw UTF·8 over raw "encoded words".
From: Michael Bäuerle
Date: Wed, 21 May 2014 07:51
Date: Wed, 21 May 2014 07:51
39 lines
3568 bytes
3568 bytes
Shmuel Metz wrote: > Michael Baeuerle wrote: > > > > There may be an option to put the message/global content into a > > news article with multipart/mixed type. > > That wouldn't be an equivalent to RFC 6531, which allows UTF-8 without > MIME encoding. Again, though, were the IETF to issue Usenet > equivalents of RFC6530, RFC6531, RFC6532 and RFC6533, I wouldn't > expect Relf to follow them. IMHO the IETF should think twice about this topic. Netnews don't have the problems created by the 7 Bit transport system, but it is obvious that Unicode is not well suited for identifiers because the raw encoding is ambigous by definition. Look at the header of this message that contain my correctly written name in two "canonically equivalent", but differently encoded representations. This means you have to normalize every Unicode identifier before bytewise matching really work. Think about Newsgroup names, Message-IDs, etc. in Unicode ... this is hell on earth after looking at the really nontrivial normalization algorithms of Unicode: http://www.unicode.org/reports/tr15/ Note that there is a composition exclusion table too. Not all compositions that are defined are really used for NFC normalization. In addition, with Unicode in UTF-8 representation you need to check anything for encoding validity in multiple levels. Windows programs that are internally using UTF-16 tend to simply convert the codepoints to UTF-8 and fail with codepoints above U+FFFF. I have tested this with the G clef sign: http://www.fileformat.info/info/unicode/char/1d11e/index.htm Sending it as UTF-8 (0xF09D849E) give citations from Outlook and Dialog containing UTF-16 surrogate code points that are invalid for UTF-8. Therefore you have to check again for sematic errors, simply checking the encoding is not sufficient. Micha
Technical Details
Message-ID:
<AABTfFr7YfEAAAFB.A1.flnews@WStation2.stz-e.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<AABTdHqgK58AABXP.A1.flnews@WStation2.stz-e.de> <AABTdHwyK6EAABXP.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.15{2.47.Seattle.2014}> <AABTdJlxK6MAABXP.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.15{6.10.Seattle.2014}> <AABTdNKdERgAAAiK.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.15{13.10.Seattle.2014}> <AABTdT6Y83UAAEau.A1.flnews@WStation4.micha.freeshell.org> <537a2a8b$13$fuzhry+tra$mr2ice@news.patriot.net> <AABTejLuQ3kAACG8.A1.flnews@WStation2.stz-e.de> <537a9009$20$fuzhry+tra$mr2ice@news.patriot.net>Show Full Headers
Complete Article Headers
Message-ID: <AABTfFr7YfEAAAFB.A1.flnews@WStation2.stz-e.de>
Subject: Re: I prefer raw UTF·8 over raw "encoded words".
Date: Wed, 21 May 2014 07:51:23 +0000
From: Michael Bäuerle <michael.baeuerle@stz-e.de>
References: <AABTdHqgK58AABXP.A1.flnews@WStation2.stz-e.de> <AABTdHwyK6EAABXP.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.15{2.47.Seattle.2014}> <AABTdJlxK6MAABXP.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.15{6.10.Seattle.2014}> <AABTdNKdERgAAAiK.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.15{13.10.Seattle.2014}> <AABTdT6Y83UAAEau.A1.flnews@WStation4.micha.freeshell.org> <537a2a8b$13$fuzhry+tra$mr2ice@news.patriot.net> <AABTejLuQ3kAACG8.A1.flnews@WStation2.stz-e.de> <537a9009$20$fuzhry+tra$mr2ice@news.patriot.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 39
Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
X-Trace: individual.net KKGcIJ2A1fLLedyO9/nDJQ9uGf2K2EQ5L7SKSeetKd7qXK3t+u
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:hBteTpwmNHbMs5j4wNWdA7DCWLg=
Injection-Date: 21 May 2014 07:51:23 -0000
User-Agent: flnews/0.7pre24 (for NetBSD)
X-Original-Bytes: 3250