๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #257751

Unicode G clef: ๐„ž (was: I prefer raw UTFยท8 over raw "encoded words".)

#257751
From: Michael Baeuerle
Date: Mon, 26 May 2014 08:06
46 lines
3626 bytes
Shmuel Metz wrote:
> Michael Baeuerle wrote:
> > 
> > A more precise definition of what "Unicode" means is required here.
> 
> Sequences of 32-bit codepoints defined by the Unicode consrtium as
> valid Unicode.
> 
> > One thing is not the case:
> > Not every codepoint sequence that is valid in UTF-16 representation
> > is also a valid codepoint sequence in UTF-8 representation:
> 
> [...] If you mean
> that surrogate pairs in UTF-8 are transforms of Unicode characters
> rather than Unicode characters themselves, that's inherent in the
> definition of a transform. [...]

I mean that it is not allowed to simply convert the codepoints
(UTF-16 surrogate pairs use valid Unicode codepoints) to another UTF
in all cases.

Yes, this is inherent to the definition of a transform, but it's widely
implemented wrong. Newsreaders like Outlook Express and Dialog cripple
replies to correct UTF-8 content containing codepoints above U+FFFF by
using UTF-8 encoded surrogate codepoints.

Step 1: Valid UTF
Step 2: Valid codepoints
Step 3: Normalization

Looks like many programs don't even process to Step 2. I have added
U+1D11E (G clef) to the subject. If somebody use Outlook Express or,
Dialog please reply for demonstration.

> > But a news server don't want to normalize every header itself 
> > before processing it (because of performance reasons).
> 
> What the mail people did was to require that specific fields be
> normalized in the original message; after that it's just a question of
> not renormalizing.

Some clients seem to have no Unicode normalization engine at all.
Therefore I predict that this will not be done in all cases.


Micha
Technical Details
Message-ID: <AABTgvX5CpQAAAVK.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!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin1!goblin.stu.neva.ru!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
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> <AABTfFr7YfEAAAFB.A1.flnews@WStation2.stz-e.de> <537d1bf0$32$fuzhry+tra$mr2ice@news.patriot.net> <AABTfh0HF+UAAAbo.A1.flnews@WStation1.micha.freeshell.org> <537f7304$15$fuzhry+tra$mr2ice@news.patriot.net> <AABTgbui+zwAAAIC.A1.flnews@WStation1.micha.freeshell.org> <538204e6$25$fuzhry+tra$mr2ice@news.patriot.net>

Show Full Headers
Complete Article Headers
Message-ID: <AABTgvX5CpQAAAVK.A1.flnews@WStation2.stz-e.de>
Subject: Unicode G clef: ๐„ž (was: I prefer raw UTFยท8 over raw "encoded words".)
Date: Mon, 26 May 2014 08:06:17 +0000
From: Michael Baeuerle <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> <AABTfFr7YfEAAAFB.A1.flnews@WStation2.stz-e.de> <537d1bf0$32$fuzhry+tra$mr2ice@news.patriot.net> <AABTfh0HF+UAAAbo.A1.flnews@WStation1.micha.freeshell.org> <537f7304$15$fuzhry+tra$mr2ice@news.patriot.net> <AABTgbui+zwAAAIC.A1.flnews@WStation1.micha.freeshell.org> <538204e6$25$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!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin1!goblin.stu.neva.ru!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 46
Reply-To: Michael Baeuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
X-Trace: individual.net MZX3NAnQWvqKY1SmpQO+BQ/jHatBZCJpJuGpHrPLUvFRhW/dBY
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:PqYYu7CbYEnhMibWkNLTF2posUQ=
Injection-Date: 26 May 2014 08:06:17 -0000
User-Agent: flnews/0.7 (for NetBSD)
X-Original-Bytes: 3351