Article View: news.software.readers
Article #248145Re: The user·specified charset ·is· applied to the "Subject: " line.
From: Pieter Zijlstra
Date: Tue, 10 Jan 2012 00:54
Date: Tue, 10 Jan 2012 00:54
64 lines
3787 bytes
3787 bytes
Jeff-Relf.Me wrote: > WinLive Mail needs the BOM in the "Subject: " line; No it doesn't, all it needs is proper formatted MIME (RFC-2047) header for characters outside the ASCII-range. > without it, it's displayed using the default charset ( Windows·1252 ) > when displaying the list of articles ( from xOver ). No it doesn't (or at least MSOE didn't) it displays it in the default codepage which could be Big-5 on Chinese windows versions. > Once the article is downloaded, it knows > to display the "Subject: " line as UTF·8. Correct. > So you ( Pieter•Zijlstra ) are wrong, > the user·specified charset ·is· applied to the "Subject: " line. I've never said that it didn't. And I gave you a link to one of these posts made by MSOE that can only be interpreted by making some assumption (for instance by using the default charset (big-5) of the user). > You've confused what an uploader "MUST" do ( encoded words ) No, I'm not it is what is stated in the RFCs. > with what a global/modern/popular downloader ·actually· does. > These are two ·very· different things, please note. > > Thunderbird didn't need the BOM, I don't know why; AFAIK Thunderbird by default, unlike MSOE, *assumes* everything to be UTF-8, MSOE by default *assumes* everything to be in the local user "ANSI" charset. As it appears to me they both make *assumptions* when dealing with characters outside the ASCII range if the charset/codepage is unknown. Here is how it works in XanaNews and probably most/some other newsreaders as well. When the headers only contains ASCII, no problem. When the headers are using RFC-2047, no problem. If the header contains non-ASCII characters (it most-likely concerns a buggy newsclient like MSOE or X). - See if there is a Content-Type header with a charset, if so, use that. - Check top-level domain of the sender (the real problems are mostly from ASIAN MSOE versions) use the possible default charset for that top level domain to translate the 8-bit header. - If all of the above fails, use the default codepage used for this account (a XanaNews setting) to translate the 8-bit header. -- Pieter "The revolution is a dictatorship of the exploited against the exploiters." -- Fidel Castro
Technical Details
Message-ID:
<xn0hsx39u5lyox000d@newszilla.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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post2.news.xs4all.nl!newszilla.xs4all.nl!not-for-mailReferences:
<xn0hsu8v02p8cmw002Pieter@xs4all.nl> <Jeff-Relf.Me@2012_Jan.7^4.40.pm> <xn0hsuboo2t68rl009Pieter@xs4all.nl> <Jeff-Relf.Me@2012_Jan.7^8.14.pm> <xn0hsvryr4ay9it009Pieter@xs4all.nl> <Jeff-Relf.Me@2012_Jan.8^11.13.pm> <Jeff-Relf.Me@2012_Jan.8^11.32.pm>Show Full Headers
Complete Article Headers
Message-ID: <xn0hsx39u5lyox000d@newszilla.xs4all.nl> Subject: Re: The user·specified charset ·is· applied to the "Subject: " line. Date: Tue, 10 Jan 2012 01:54:36 +0100 From: "Pieter Zijlstra" <p.zylstra.notthis@hccnet.nl> References: <xn0hsu8v02p8cmw002Pieter@xs4all.nl> <Jeff-Relf.Me@2012_Jan.7^4.40.pm> <xn0hsuboo2t68rl009Pieter@xs4all.nl> <Jeff-Relf.Me@2012_Jan.7^8.14.pm> <xn0hsvryr4ay9it009Pieter@xs4all.nl> <Jeff-Relf.Me@2012_Jan.8^11.13.pm> <Jeff-Relf.Me@2012_Jan.8^11.32.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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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:00002B9E MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Lines: 64 NNTP-Posting-Host: 80.100.173.199 X-Trace: 1326156881 dreader34.news.xs4all.nl 19701 80.100.173.199:32050 X-Original-Bytes: 3499