Article View: news.software.readers
Article #110243[Xnews] Proper RFC2047 encoding support?
From: Jonathan Larmour
Date: Thu, 26 Sep 2002 14:52
Date: Thu, 26 Sep 2002 14:52
38 lines
2788 bytes
2788 bytes
I suppose this is really just directed at Luu Tran who is meant to read here... Xnews doesn't appear to support RFC2047 (MIME part 3: Message Header Extensions for Non-ASCII Text) very well. For example, someone can post the following which is the British pound sign in a subject field: =?iso-8859-1?Q?=A3?= which follows the RFC2047 syntax: encoded-word = "=?" charset "?" encoding "?" encoded-text "?=" Now Xnews can *de*code this just fine, displaying a pound sign in the subject line on screen. If you follow up to an article like this though, it uses the pound sign in the subject, and when actually posting, xnews complains there is illegal 8 bit data. This means there is no way to display a pound without rewriting the subject and inserting the encoding by hand! Obviously it would be good if Xnews could do this properly, at least with a few obvious character sets like ISO-8859-1. At a pinch, it would be a reasonable bodge (:-)) to at least keep the encoding used when a post is followed up to. i.e. instead of Xnews converting the character set encoding to a pound and then using the decoded version in the subject, instead it could maintain the encoding in its internal representation and only _display_ it as a pound in the new article. Thus although Xnews wouldn't have to know how to encode everything, it can at least just copy it from the article that was followed up to. Anyway, just hoping this could be added to some TODO list... Jifl -- --[ "You can complain because roses have thorns, or you ]-- --[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
Technical Details
Message-ID:
<907vma-u5s.ln@worf.jifvik.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!elvis.franken.de!chico.franken.de!news.franken.de!uni-erlangen.de!news-nue1.dfn.de!news-lei1.dfn.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep2-win.server.ntli.net.POSTED!53ab2750!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <907vma-u5s.ln@worf.jifvik.org> Subject: [Xnews] Proper RFC2047 encoding support? Date: Thu, 26 Sep 2002 15:52:57 +0100 From: jiflnews@jifvik.org.removethis.invalid (Jonathan Larmour) 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!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!elvis.franken.de!chico.franken.de!news.franken.de!uni-erlangen.de!news-nue1.dfn.de!news-lei1.dfn.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep2-win.server.ntli.net.POSTED!53ab2750!not-for-mail Newsgroups: news.software.readers Organization: Just me X-Newsreader: trn 4.0-test74 (May 26, 2000) Lines: 37 NNTP-Posting-Host: 62.253.130.87 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep2-win.server.ntli.net 1033052404 62.253.130.87 (Thu, 26 Sep 2002 16:00:04 BST) NNTP-Posting-Date: Thu, 26 Sep 2002 16:00:04 BST