Article View: news.software.readers
Article #109557Re: Which newsreaders have Unicode support?
From: Peter Moylan
Date: Fri, 13 Sep 2002 11:09
Date: Fri, 13 Sep 2002 11:09
83 lines
5397 bytes
5397 bytes
Jens Wahnes wrote: > Peter Moylan wrote: > >> J.B. Moreno <planb@newsreaders.com> wrote: >>>(I'm crossposting this to news.software.readers) >> Oops! I nearly missed seeing that. I'd better subscribe to >> that group so that I don't miss any of the discussion. > > I've set a Followup-To to there - should be OK then. But I'm continuing to crosspost, because otherwise the OS/2 and eCS users will probably not see this discussion. >> As a start I'll keep my eyes open for a new port to OS/2 of slrn, > > Have a look at <http://slrn.sourceforge.net>, you'll find a link to an > OS/2 version there. Bozhe moi. I've just realised that I already have slrn version 0.973, and the UTF-8 support was apparently added in version 0.970. I guess that means that I had better start searching through the documentation. I've already skimmed through the sourceforge pages, and the only place I can find a mention of Unicode or UTF-8 is in the change list for slrn, but no doubt I can find something if I can keep searching. > Otherwise, if you stick with CP850, slrn will display all characters > not in that codepage as '?', which is not going to be very helpful in > this case. Unfortunately, there is no good solution for console > programs how to deal with this problem. I know that there are terminal > emulators available that support UTF-8, but I don't know if any of > these supports OS/2. Actually, I haven't yet tried to run slrn on a > unicode console, even that might be impossible with the current charset > handling in slrn. This is indeed the difficulty. At present I have slrn configured to use the OS/2 system editor to compose news postings, but by doing that I am confining myself to using code page 850. The way OS/2 works, text-mode applications are restricted to two code pages, but GUI applications have a wider choice. Since both slrn and the OS/2 system editor are text-mode applications, this is a fatal restriction. I've already made a binary patch to slrn that turns its Latin-1 support into a pseudo-Latin-9 support, based on the (remarkably accurate) assumption that most newsreaders that claim to be using latin-9 are actually using that nonstandard abortion known as Windows-latin-9, but all that that gives me is the Euro support. Going beyond that point is going to be tricky. As mentioned above, graphics-mode OS/2 programs are not restricted by the "code page" concept, so in theory I should move to a graphics-mode newsreader. Unfortunately that leaves me with a rather restricted choice: - the OS/2 native newsreaders such as MR/2 and ProNews. Unfortunately, and a little surprisingly, these seem to be concentrating on supporting the Microsoft "standards" rather than the ISO standards, so I doubt that we can count on their adding Unicode support in the foreseeable future; - Mozilla, which does appear to be doing the right thing in terms of a rich character set support. But who would be crazy enough to use a web browser as a newsreader? There is another line of attack that looks promising. Goran Ivankovic has developed a "text converter" program that can translate text files from one character set to another. I am starting to think that I should start a dialogue with Goran with a view to creating some sort of "front end" to slrn that would serve a similar purpose that metamail does on Unix systems. The details are still a little blurry (since I myself have a severe distaste for the C programming language, and that locks me out from the Unix mainstream), but there is a strong possibility that Goran understands how to do this better than I do. Essentially all that is needed is to parse the news headers -- and that is something that I *do* know how to do -- to find out the desired character set, and then pass that information to a program that can do conversions. At present Goran's program is self-contained, but it seems to me that it would be easy to derive from that a "filter" sort of program that did the desired job. -- Peter Moylan peter@ee.newcastle.edu.au http://eepjm.newcastle.edu.au
Technical Details
Message-ID:
<alsh27$lvd$9@seagoon.newcastle.edu.au>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.os2.mail-news.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.vmunix.org!news1.optus.net.au!optus!news.usyd.edu.au!news.newcastle.edu.au!not-for-mailReferences:
<alnabi$ltn$1@seagoon.newcastle.edu.au> <110920021501005961%planb@newsreaders.com> <slrnao04vl.1qi.peter@eepjm.newcastle.edu.au> <slrnao0u0n.glm.nsr@message-id.wahnes-world.de>Show Full Headers
Complete Article Headers
Message-ID: <alsh27$lvd$9@seagoon.newcastle.edu.au> Subject: Re: Which newsreaders have Unicode support? Date: Fri, 13 Sep 2002 11:09:59 +0000 From: Peter Moylan <peter@PJM2.newcastle.edu.au> References: <alnabi$ltn$1@seagoon.newcastle.edu.au> <110920021501005961%planb@newsreaders.com> <slrnao04vl.1qi.peter@eepjm.newcastle.edu.au> <slrnao0u0n.glm.nsr@message-id.wahnes-world.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.os2.mail-news.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.vmunix.org!news1.optus.net.au!optus!news.usyd.edu.au!news.newcastle.edu.au!not-for-mail Newsgroups: comp.os.os2.mail-news,news.software.readers Organization: The University of Newcastle Lines: 82 Reply-To: peter@totally-official.com NNTP-Posting-Host: c25mc2-asy15.newcastle.edu.au User-Agent: slrn/0.9.7.3 (OS/2)