Article View: news.software.readers
Article #156037Re: wrong codepage selection by XNEWS - HELP!
From: Patrick Lamaizière
Date: Thu, 23 Sep 2004 20:43
Date: Thu, 23 Sep 2004 20:43
40 lines
2922 bytes
2922 bytes
Guest écrivait : > PiotrekR: Thank you. I will use that program (mime-proxy) if no other > solution can be found. It's somewhat inconvenient to run a second > program every time I use Xnews. I think the best is to launch Mime-proxy at startup and to forget it. > Also the fact that it runs as a proxy > is a problem, because sometimes I need to run Xnews through a real > proxy. I'm hoping there could be a better solution... Is it a problem to chain the proxies ? > I noticed one example of this problem in this newsgroup: message on > Sept 12 from Markus Alsleben - some jibberish like "?utf-8?B? > ISHigqwhIVZJRUwgR0VMRCBJTiA0IFdPQ0hFTiEh4oKsISE=?=" That's because > it's in UTF-8 character-set and Xnews is using wrong codepage (instead > of UTF-8) to decode it. Xnews can't decode utf-8 or encoded-words (=?...?B?....?=) > There are some russian newsgroups where >90% of people use character > set KOI8-R (codepage 20866), and very few use Windows Cyrillic > character coding (codepage 1251). But Xnews chooses to decode > everything using Codepage 1251. Thus most messages are unreadable. Mime-proxy is your friend :). Russians use raw KOI8-R in header without encoded-word, so you should use "header_charset=koi8-r" and set "encoded_word=0" in the configuration. Let me know (by mail) if you have got some problems to use it. > If Xnews cannot correctly identify character set in non-ASCII > messages, isn't there at least a way to choose correct character > coding manually? No. You can play with fonts but i think it is just a hack, and it will not work with utf-8 and encoded-words.
Technical Details
Message-ID:
<Xns9E4A1B33C8764plam@alussinan.org>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!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!proxad.net!feeder2-1.proxad.net!news6-e.free.fr!not-for-mailReferences:
<Xns956C97973E578koluga@66.185.95.114> <Xns956C9012191E0xs11eyahoocom@68.6.19.6> <Xns956CE22DAC51Aallspamgoesherecom@216.77.188.18> <Xns956D11B51CF5Akoluga@66.185.95.114>Show Full Headers
Complete Article Headers
Message-ID: <Xns9E4A1B33C8764plam@alussinan.org> Subject: Re: wrong codepage selection by XNEWS - HELP! Date: Thu, 23 Sep 2004 22:43:39 +0200 From: Patrick Lamaizière <plamaiziere@alussinan.org> References: <Xns956C97973E578koluga@66.185.95.114> <Xns956C9012191E0xs11eyahoocom@68.6.19.6> <Xns956CE22DAC51Aallspamgoesherecom@216.77.188.18> <Xns956D11B51CF5Akoluga@66.185.95.114> 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!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!proxad.net!feeder2-1.proxad.net!news6-e.free.fr!not-for-mail Newsgroups: news.software.readers Organization: non User-Agent: KNode/0.8.0 Mime-proxy/1.4.c.2 (NetBSD) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-No-Archive: yes Lines: 40 NNTP-Posting-Date: 23 Sep 2004 22:43:41 MEST NNTP-Posting-Host: 213.41.172.177 X-Trace: 1095972221 news6-e.free.fr 27933 213.41.172.177:64680 X-Complaints-To: abuse@proxad.net