Article View: news.software.nntp
Article #86728Re: How are supersedes and Message-ID being handled now?
From: Joshua Cranmer π§
Date: Mon, 04 May 2015 15:00
Date: Mon, 04 May 2015 15:00
61 lines
4963 bytes
4963 bytes
On 5/4/2015 7:34 AM, Michael Baeuerle wrote: > But that is not the case. Text is not only typed, but also copied via > cut and paste from unknown sources or filled in automatically by click > on something. Remember that Unicode has not only 2 canonical > normalization forms, but also allow arbitrary order of codepoints with > nonzero and different character combining class. Arbitrary levels of > composition are also valid. All Unicode normalization forms enforce an ordering of combining code points. > Some time ago I have created a small test program to demonstrate this > for Unicode filenames (but the same can happen for every data that is > used as name/identifier): Most filesystems treat filenames as arbitrary byte strings, not Unicode strings. In particular, you can generally create, say, "\xE8" as a file on an ext3 filesystem, and the filesystem wouldn't scream at you (UI programs certainly might). The only real exception that I'm aware of is HFS+, which uses NFD (what the?). That the ability to create non-NFC strings exists and that their use can break programs does not disprove my claim that if you always use NFC input, things usually just work. > I disagree. For fields like "Subject" this may be true. But for the > fields with identifiers like "Message-ID", "References" or "Newsgroups", > I have doubts. > > Think about software like leafnode which creates files with the name of > groups and Message-IDs on disk and you already have the problems from my > example above - on your disk. Most software that deals with Unicode that I am aware of considers equality on a byte-for-byte basis. Unicode identifiers in programming languages which are equal after NFC but not before are considered distinct; similar things happen for HTML/CSS id and class names. Similarly, two message-ids that are equal only after NFC I would not consider to be equivalent. Or, to repeat, if you don't send non-NFC in the first place, it generally just works. As Julien Γlie pointed out earlier, UTF-8 newsgroups have been created before and do in fact work. > But RFC6532 message format requires the SMTPUTF8 extension on protocol > level. Because on USENET even the rollout of NNTP V2 is not completed, > I think we can't hope for some kind of "NNTPUTF8" capability to be > available soon. RFC 6530 and friends follow the tradition of 8-bit SMTP: there's a separate non-UTF-8-safe subset of email servers and a UTF-8-safe subset. From further mailing list conversations, it's clear that they envision UTF-8 header messages as being distinct messages from 7-bit header messages that need to be processed differently, and they've also said that this information can only be carried out-of-band. I wouldn't be surprised if the SMTPUTF8 rollout mirrors 8BIT: people switch over to UTF-8 anyways, ignoring what the server actually claims to support. -- Beware of bugs in the above code; I have only proved it correct, not tried it. -- Donald E. Knuth
Technical Details
Message-ID:
<mi81g2$i37$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20150601.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!goblin3!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mailReferences:
<mgfuq0$8ee$1@news.mixmin.net> <mggkev$j2u$1@dont-email.me> <mgst9h$nvr$1@news.mixmin.net> <mgtpgp$ije$1@dont-email.me> <mgv2ro$8u6$1@news.mixmin.net> <mh0e69$4d6$1@dont-email.me> <mh0puu$one$1@news.mixmin.net> <mh3qq9$6j5$1@dont-email.me> <mh4fbh$jft$1@news.mixmin.net> <mh714j$40v$1@dont-email.me> <mh77tl$emi$1@news.mixmin.net> <mh92h9$p83$1@dont-email.me> <mhtv8k$s1i$1@news.trigofacile.com> <mhupvp$3c6$1@dont-email.me> <mhvgje$j5p$1@news.trigofacile.com> <mi2pcd$cvl$1@dont-email.me> <AABVRjobIhkAAAoh.A1.flnews@WStation1.micha.freeshell.org> <mi5qh9$ebq$1@dont-email.me> <AABVRz0NTVsAAA1Q.A1.flnews@WStation3.stz-e.de>Show Full Headers
Complete Article Headers
Message-ID: <mi81g2$i37$1@dont-email.me> Subject: Re: How are supersedes and Message-ID being handled now? Date: Mon, 4 May 2015 10:00:17 -0500 From: Joshua Cranmer π§ <Pidgeot18@verizon.invalid> References: <mgfuq0$8ee$1@news.mixmin.net> <mggkev$j2u$1@dont-email.me> <mgst9h$nvr$1@news.mixmin.net> <mgtpgp$ije$1@dont-email.me> <mgv2ro$8u6$1@news.mixmin.net> <mh0e69$4d6$1@dont-email.me> <mh0puu$one$1@news.mixmin.net> <mh3qq9$6j5$1@dont-email.me> <mh4fbh$jft$1@news.mixmin.net> <mh714j$40v$1@dont-email.me> <mh77tl$emi$1@news.mixmin.net> <mh92h9$p83$1@dont-email.me> <mhtv8k$s1i$1@news.trigofacile.com> <mhupvp$3c6$1@dont-email.me> <mhvgje$j5p$1@news.trigofacile.com> <mi2pcd$cvl$1@dont-email.me> <AABVRjobIhkAAAoh.A1.flnews@WStation1.micha.freeshell.org> <mi5qh9$ebq$1@dont-email.me> <AABVRz0NTVsAAA1Q.A1.flnews@WStation3.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.nntp.20150601.mbox.gz!border1.nntp.dca1.giganews.com!nntp.giganews.com!goblin3!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: A noiseless patient Spider Lines: 61 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 4 May 2015 14:59:14 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="8cedddb29338592f734c41b16a68fadc"; logging-data="18535"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+LXPQw+JmYYcMiG4AD3z4COSj7oS1yyUs=" User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; In-reply-to: <AABVRz0NTVsAAA1Q.A1.flnews@WStation3.stz-e.de> Cancel-Lock: sha1:ws9G04yYowIhk7MhbEe2GZhUhsA=