Thread View: news.software.readers
8 messages
8 total messages
Started by Andrei Voropaev
Wed, 24 Sep 2014 13:58
KOI8-R in subjects [slrn]
Author: Andrei Voropaev
Date: Wed, 24 Sep 2014 13:58
Date: Wed, 24 Sep 2014 13:58
14 lines
1602 bytes
1602 bytes
Hi! I'm trying to view Russian news which are written using KOI8-R encoding. The version of slrn that I'm using does not support "charset" option, so I have to work around it somehow. The set_utf8_conversion_table also does not work. So far I've created macro that takes article text, converts it from KOI8-R and then replaces old article with new one. This part works good. Now I would like to fix subject lines displayed in the window with articles listing. Any pointers to functions that I could use for that? Is it possible at all? -- Minds, like parachutes, function best when open
Re: KOI8-R in subjects [slrn]
Author: John E. Davis
Date: Sat, 27 Sep 2014 17:08
Date: Sat, 27 Sep 2014 17:08
15 lines
1738 bytes
1738 bytes
On Wed, 24 Sep 2014 13:58:42 +0000 (UTC), Andrei Voropaev <avorop@mail.ru> wrote: > I'm trying to view Russian news which are written using KOI8-R encoding. > The version of slrn that I'm using does not support "charset" option, so > I have to work around it somehow. The set_utf8_conversion_table also Do you have an example of such an article, e.g., a message-id? The version of slrn that you are using was released on this day in 2008. There have been a number of changes in the 6 years that have passed. Please trying using the 1.0.2 release, which you can get from <http://www.jedsoft.org/releases/slrn/>. Thanks, --John
Re: KOI8-R in subjects [slrn]
Author: Shmuel Metz
Date: Sun, 28 Sep 2014 01:47
Date: Sun, 28 Sep 2014 01:47
24 lines
2562 bytes
2562 bytes
In <slrnm2drp9.3cr.jed@jedsoft.org>, on 09/27/2014 at 05:08 PM, "John E. Davis" <jed@jedsoft.org> said: >On Wed, 24 Sep 2014 13:58:42 +0000 (UTC), Andrei Voropaev ><avorop@mail.ru> wrote: >> I'm trying to view Russian news which are written using KOI8-R encoding. >> The version of slrn that I'm using does not support "charset" option, so >> I have to work around it somehow. The set_utf8_conversion_table also >Do you have an example of such an article, e.g., a message-id? Is the OP saying that there is raw KOI8-R is the Subject, or only that the Subject ias MIME encoded with charset=KOI8-R? The former would violate RFC 822. If the latter, I concur with your suggestion that he try the latest slrn. -- Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel> Unsolicited bulk E-mail subject to legal action. I reserve the right to publicly post or ridicule any abusive E-mail. Reply to domain Patriot dot net user shmuel+news to contact me. Do not reply to spamtrap@library.lspace.org
Re: KOI8-R in subjects [slrn]
Author: Andrei Voropaev
Date: Sun, 28 Sep 2014 07:10
Date: Sun, 28 Sep 2014 07:10
20 lines
2052 bytes
2052 bytes
On 2014-09-27, John E. Davis <jed@jedsoft.org> wrote: > On Wed, 24 Sep 2014 13:58:42 +0000 (UTC), Andrei Voropaev <avorop@mail.ru> > wrote: >> I'm trying to view Russian news which are written using KOI8-R encoding. >> The version of slrn that I'm using does not support "charset" option, so >> I have to work around it somehow. The set_utf8_conversion_table also > > Do you have an example of such an article, e.g., a message-id? > > The version of slrn that you are using was released on this day in > 2008. There have been a number of changes in the 6 years that have > passed. Please trying using the 1.0.2 release, which you can get from ><http://www.jedsoft.org/releases/slrn/>. For example article with ID MSGID_2=3A5054=2F89_497c0190@fidonet.org I know, it is best to use new version, but in this case I don't control things :) I can only try to create workaround. -- Minds, like parachutes, function best when open
Re: KOI8-R in subjects [slrn]
Author: Andrei Voropaev
Date: Mon, 29 Sep 2014 09:02
Date: Mon, 29 Sep 2014 09:02
18 lines
1965 bytes
1965 bytes
On 2014-09-28, Shmuel Metz <spamtrap@library.lspace.org.invalid> wrote: > > Is the OP saying that there is raw KOI8-R is the Subject, or only that > the Subject ias MIME encoded with charset=KOI8-R? The former would > violate RFC 822. If the latter, I concur with your suggestion that he > try the latest slrn. > Well. I guess the Subject has pure KOI8-R. At least when I view headers (toggled by 't') I see KOI8-R text there. This might violate things, but my question was, is there any way to mingle with list creation? Should I understand your words as "no"? I'm not going to complain about it, just wanted to make sure, that I can't create workaround for these (most likely badly formatted) posts :) -- Minds, like parachutes, function best when open
Re: KOI8-R in subjects [slrn]
Author: Shmuel Metz
Date: Mon, 29 Sep 2014 10:21
Date: Mon, 29 Sep 2014 10:21
22 lines
2574 bytes
2574 bytes
In <m0b777$btu$1@odin.sdf-eu.org>, on 09/29/2014 at 09:02 AM, Andrei Voropaev <avorop@mail.ru> said: >Should I understand your words as "no"? No. The reason for my question is that if the Subject field has MIME-encoded KOI8-R then any up to date news reader that supports MIME should render it properly. If the article violates RFC 822 then only those users who have configured their news readers to KOI8-R will see the subject correctly. If you configure slrn to assume KOI8-R for those news groups then you should be fine unless someone else is posting unencoded text in a different character set. If the latter happens then you're SOL. -- Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel> Unsolicited bulk E-mail subject to legal action. I reserve the right to publicly post or ridicule any abusive E-mail. Reply to domain Patriot dot net user shmuel+news to contact me. Do not reply to spamtrap@library.lspace.org
Re: KOI8-R in subjects [slrn]
Author: John E. Davis
Date: Mon, 29 Sep 2014 12:49
Date: Mon, 29 Sep 2014 12:49
23 lines
2141 bytes
2141 bytes
On Mon, 29 Sep 2014 09:02:31 +0000 (UTC), Andrei Voropaev <avorop@mail.ru> wrote: > Well. I guess the Subject has pure KOI8-R. At least when I view headers > (toggled by 't') I see KOI8-R text there. This might violate things, but > my question was, is there any way to mingle with list creation? Should I > understand your words as "no"? I'm not going to complain about it, just > wanted to make sure, that I can't create workaround for these (most > likely badly formatted) posts :) There is no function for replacing the subject text. Since the subject is raw KOI8-R, you might try putting the following in your .slrnrc file: set fallback_charset "KOI8-R" charset display "KOI8-R" The first line tells slrn to assume that an unknown character set is KOI8-R, and the second tells slrn that your display character set is KOI8-R. I hope this helps. Thanks, --John
Re: KOI8-R in subjects [slrn]
Author: Andrei Voropaev
Date: Wed, 01 Oct 2014 08:21
Date: Wed, 01 Oct 2014 08:21
18 lines
1830 bytes
1830 bytes
On 2014-09-29, John E. Davis <jed@jedsoft.org> wrote: > There is no function for replacing the subject text. Since the > subject is raw KOI8-R, you might try putting the following in your > .slrnrc file: > > set fallback_charset "KOI8-R" > charset display "KOI8-R" > I wish I could. The version I'm using refuses to support them. It says, that these parameters are "disabled". Well, anyway. Thank you for clarifications. I guess, it should be enough that I can convert articles to readable form :) -- Minds, like parachutes, function best when open
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads