Article View: news.software.readers
Article #88220Re: How about accents in Xnews?
From: Thomas LEMOINE
Date: Mon, 26 Nov 2001 15:34
Date: Mon, 26 Nov 2001 15:34
60 lines
4308 bytes
4308 bytes
Eddy <kritoon@@tiscalinet.be> writes: > Seems OK to me ... It may seem OK to you, but it is not. Here (Gnus 5.9.0, GNU Emacs 21.1.1, Windows 2000) I see the pattern \200 (in a single char) repeated several times. Since Xnews just passes alongs what gets typed, without looking at the codes of the characters, what effectively happens is that non-ascii characters are encoded in the windows default charset (windows-1252 on european versions of Windows). And since Xnews assumes everything in the windows default charset when displaying articles, everything looks fine to you and to other Xnews users. But for other newsreaders, the problem is that you do not specify any charset in your headers. I recommend that you add the following to the Custom Headers section: *MIME-Version: 1.0 *Content-Type: text/plain; charset=iso-8859-1 *Content-Transfer-Encoding: 8bit Windows-1252 is identical to iso-8859-1 except in the 128-159 range, so this would at least make you transmit most non-us-ascii characters correctly, if not solve the euro problem. If you want to transmit the euro character properly, you have two possibilities, none of which is really satisfactory: 1/ you might replace iso-8859-1 in the above with windows-1252. It would ensure that everything you type is sent as such and encoded properly, but I do not recommend this at all, because this is not portable and would not be understandable outside the Windows world. 2/ you might replace iso-8859-1 in the above with iso-8859-15. It would give you a way of posting euro characters in a way that would both be syntactically correct AND portable, but you won't be able to see them: euro is at place #128 in Windows-1252, but places #128 to #159 inclusive are reserved in iso charsets, and euro is at place #160 in iso-8859-15 (which is a O with four spikes in iso-8859-1 and windows-1252). Thus, you would have to type a spiked O to transmit an euro that would be correctly transmitted -- and you wouldn't even be able to see it yourself. Yet, I do not recommend that you use this charset as a default. In most articles posted in western Europe languages, iso-8859-1 is enough, and several newsreaders that don't understand iso-8859-15 will fsck up when seeing this charset declared (this includes Gnus when used on GNU Emacs 20.x). Le mieux est l'ennemi du bien, and iso-8859-15 should only be declared when using iso-8859-15 specific characters (the same being true for iso-8859-1, by the way). If you use Xnews in conjunction with Hamster, you have a third possibility, which is to run a Hamster script or Korrnews to correct the articles before their being posted. This might be the best solution, but I'm posting from office and I don't have a Hamster at hand from here -- and I'm way too lazy to investigate it. :) -- Thomas Lemoine
Technical Details
Message-ID:
<ubshplf54.fsf@esperanza.wkaz.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!fr.usenet-edu.net!usenet-edu.net!asynchrone!not-for-mailReferences:
<Xns9165A6B7D96Bkritoontiscali@195.130.132.69> <Xns9165114787F4larskyndidk@dtext.news.tele.dk> <Xns9165132D3FB2Fkritoontiscali@195.130.132.68> <Xns91655D93A46B9ThomasAdamswebde@130.133.1.4> <Xns916575534456Fkritoontiscali@195.130.132.69> <Xns9165787FAEB5Bcanttouchthis@213.228.0.33> <Xns9165A0839D557kritoontiscali@195.130.132.69> <Xns9165A0A5FE52Ekritoontiscali@195.130.132.69>Show Full Headers
Complete Article Headers
Message-ID: <ubshplf54.fsf@esperanza.wkaz.net> Subject: Re: How about accents in Xnews? Date: Mon, 26 Nov 2001 15:34:47 +0000 From: Thomas LEMOINE <thomas@wkaz.net> References: <Xns9165A6B7D96Bkritoontiscali@195.130.132.69> <Xns9165114787F4larskyndidk@dtext.news.tele.dk> <Xns9165132D3FB2Fkritoontiscali@195.130.132.68> <Xns91655D93A46B9ThomasAdamswebde@130.133.1.4> <Xns916575534456Fkritoontiscali@195.130.132.69> <Xns9165787FAEB5Bcanttouchthis@213.228.0.33> <Xns9165A0839D557kritoontiscali@195.130.132.69> <Xns9165A0A5FE52Ekritoontiscali@195.130.132.69> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!fr.usenet-edu.net!usenet-edu.net!asynchrone!not-for-mail Newsgroups: news.software.readers Organization: Children of the sun Lines: 59 NNTP-Posting-Host: 193.105.113.102 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: tem.asynchrone.net 1006788934 8343 193.105.113.102 (26 Nov 2001 15:35:34 GMT) X-Complaints-To: abuse@asynchrone.net NNTP-Posting-Date: 26 Nov 2001 15:35:34 GMT X-Bounce: Content-Type != text/plain X-Binaries-To: binaries@wkaz.net Mail-Copies-To: never User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1