Article View: news.software.readers
Article #248079Re: When is the "\xFeFF" prefix useful ? ( U+FeFF, the BOM/signature )
From: Pieter Zijlstra
Date: Sun, 08 Jan 2012 01:53
Date: Sun, 08 Jan 2012 01:53
50 lines
3037 bytes
3037 bytes
Jeff-Relf.Me wrote:
> I know you ( Pieter•Zijlstra ) auto·decode encoded words;
If you remove the U+FEFF, I don't have to ;-)
> others ( including me ) read the raw/original headers at Google Groups
> and "http://al.howardknight.net/msgid.cgi?MSGI=%3C{mID}%3E".
>
> There's no reason to post impossible·to·read encoded words.
It is a MUST according to the RFCs.
> The "\xFeFF" prefix and "Content-Type: charset=UTF-8" suffice.
> It's not just "Unicode.ORG",
> I can quote RFC's ( "Tools.ietf.ORG" ) as well.
>
> Quoting RFC 3629, "http://tools.ietf.org/html/rfc3629",
> "UTF-8, a transformation format of ISO 10646":
>
> « 6. Byte order mark (BOM)
> [sniped]
> It is important to understand that the character U+FEFF appearing at
> any position other than the beginning of a stream MUST be interpreted
> with the semantics for the zero-width non-breaking space, and MUST
> NOT be interpreted as a signature. »
(and I do hope you read the rest of that chapter as well)
If you really want to use it as BOM then you should sent it directly after your POST command and after you've received the 340 (Send article to be posted) and not in the middle of the stream (in the middle of a subject header).
But you probably know as well that all other RFCs as minimum say that you SHOULD NOT do this and in this specific case of (subject) headers you MUST use MIME encoded headers for characters that are outside the US-ASCII range.
--
Pieter
"C combines all the power of assembly language with the ease of
use of assembly language" -- trad
Technical Details
Message-ID:
<xn0hsuboo2t68rl009Pieter@xs4all.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post2.news.xs4all.nl!newszilla.xs4all.nl!not-for-mailReferences:
<Jeff-Relf.Me@2012_Jan.5^0.12.am> <xn0hsrk2lco59000Pieter@xs4all.nl> <Jeff-Relf.Me@2012_Jan.5^8.46.pm> <xn0hssymy1fscqf00d@newszilla.xs4all.nl> <Jeff-Relf.Me@2012_Jan.6^9.30.pm> <xn0hsu8v02p8cmw002Pieter@xs4all.nl> <Jeff-Relf.Me@2012_Jan.7^4.40.pm>Show Full Headers
Complete Article Headers
Message-ID: <xn0hsuboo2t68rl009Pieter@xs4all.nl> Subject: Re: When is the "\xFeFF" prefix useful ? ( U+FeFF, the BOM/signature ) Date: Sun, 8 Jan 2012 02:53:17 +0100 From: "Pieter Zijlstra" <p.zylstra.notthis@hccnet.nl> References: <Jeff-Relf.Me@2012_Jan.5^0.12.am> <xn0hsrk2lco59000Pieter@xs4all.nl> <Jeff-Relf.Me@2012_Jan.5^8.46.pm> <xn0hssymy1fscqf00d@newszilla.xs4all.nl> <Jeff-Relf.Me@2012_Jan.6^9.30.pm> <xn0hsu8v02p8cmw002Pieter@xs4all.nl> <Jeff-Relf.Me@2012_Jan.7^4.40.pm> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post2.news.xs4all.nl!newszilla.xs4all.nl!not-for-mail Newsgroups: news.software.readers,alt.free.newsservers User-Agent: XanaNews (x64; Portable ISpell)/1.19.1.341 X-Ref: newszilla.xs4all.nl ~XNS:00002B8F MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Lines: 50 NNTP-Posting-Host: 80.100.173.199 X-Trace: 1325987601 dreader36.news.xs4all.nl 21401 80.100.173.199:21734