🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by andrew Thu, 18 Sep 2008 10:09
[slrn] Windows console and utf-8
#226055
Author: andrew
Date: Thu, 18 Sep 2008 10:09
29 lines
1816 bytes
Hi,

I am trying to get a decent utf-8 display for slrn under Windows XP. I
have compiled the latest svn slrn against libiconv and the release
version slang 2.1.4. As well I have followed the instructions at:

http://slrn.sourceforge.net/docs/slrn-FAQ-2.html#ss2.4

and set:

charset display "ibm850"
charset editor "utf-8"

in the slrn.rc file as well as added the following to slrn.bat:

set LANG=en_US.UTF-8

However I still get a lot of mystery characters in posts usually
related to accents, diacritical marks etc. I suspect that one problem
is that I have yet to find a font for cmd.exe that will show these
adequately as I have failed also to find a font that will do the same
in gvim.

Has anybody solved this problem? 

   Andrew

-- 
Do you think that's air you're breathing?
Re: Windows console and utf-8
#226054
Author: Reinhard Irmer
Date: Thu, 18 Sep 2008 10:30
35 lines
2316 bytes
On 18 Sep., 12:09, andrew <and...@ithaca.invalid> wrote:
> Hi,
>
> I am trying to get a decent utf-8 display for slrn under Windows XP. I
> have compiled the latest svn slrn against libiconv and the release
> version slang 2.1.4. As well I have followed the instructions at:
>
> http://slrn.sourceforge.net/docs/slrn-FAQ-2.html#ss2.4
>
> and set:
>
> charset display "ibm850"
> charset editor "utf-8"
>
> in the slrn.rc file as well as added the following to slrn.bat:
>
> set LANG=en_US.UTF-8
>
> However I still get a lot of mystery characters in posts usually
> related to accents, diacritical marks etc. I suspect that one problem
> is that I have yet to find a font for cmd.exe that will show these
> adequately as I have failed also to find a font that will do the same
> in gvim.
>
> Has anybody solved this problem?

charset display "utf-8"
font: Lucida Console or Consolas


hth

--
gr€€tings
Reinhard
Re: Windows console and utf-8
#226056
Author: andrew
Date: Thu, 18 Sep 2008 11:04
29 lines
2173 bytes
On 2008-09-18, Reinhard Irmer <frydd@spamfence.net> wrote:
> On 18 Sep., 12:09, andrew <and...@ithaca.invalid> wrote:

>> However I still get a lot of mystery characters in posts usually
>> related to accents, diacritical marks etc. I suspect that one problem
>> is that I have yet to find a font for cmd.exe that will show these
>> adequately as I have failed also to find a font that will do the same
>> in gvim.

> charset display "utf-8"
> font: Lucida Console or Consolas

Thanks Reinhard that looks a little better, although Consolas had
trouble with Greek. Lucida Console still has problems with the
breathing marks, accents and iota subscripts. I have a screenshot
here:

http://andrews-corner.org/slrn_windows_utf8.png

Each area of the greek text that is a box represents a diacritical
mark. So I guess it is a matter of finding the right font? My font of
choice for Greek is Gentium but this does not work with cmd.exe.

Thanks for your trouble,

    Andrew

-- 
Do you think that's air you're breathing?
Re: Windows console and utf-8
#226059
Author: Reinhard Irmer
Date: Thu, 18 Sep 2008 12:23
27 lines
2434 bytes
On 18 Sep., 13:04, andrew <and...@ithaca.invalid> wrote:
> On 2008-09-18, Reinhard Irmer <fr...@spamfence.net> wrote:
>
> > On 18 Sep., 12:09, andrew <and...@ithaca.invalid> wrote:
> >> However I still get a lot of mystery characters in posts usually
> >> related to accents, diacritical marks etc. I suspect that one problem
> >> is that I have yet to find a font for cmd.exe that will show these
> >> adequately as I have failed also to find a font that will do the same
> >> in gvim.
> > charset display "utf-8"
> > font: Lucida Console or Consolas
>
> Thanks Reinhard that looks a little better, although Consolas had
> trouble with Greek. Lucida Console still has problems with the
> breathing marks, accents and iota subscripts. I have a screenshot
> here:
>
> http://andrews-corner.org/slrn_windows_utf8.png

charset outgoing "utf-8"
http://slrn.sourceforge.net/docs/slrn-manual-5.html#ss5.3

[...]

--
r€gards
Reinhard
Re: Windows console and utf-8
#226062
Author: Thomas Wiegner
Date: Thu, 18 Sep 2008 14:47
16 lines
1618 bytes
On Thu, 18 Sep 2008, Reinhard Irmer <frydd@spamfence.net> wrote:
>
> charset outgoing "utf-8"
> http://slrn.sourceforge.net/docs/slrn-manual-5.html#ss5.3

And maybe more interesting for windows users:

http://slrn.sourceforge.net/docs/slrn-FAQ-2.html#ss2.4
| What charset settings should I use under Windows?

Cheers,

 Thomas

-- 
[X] Nail here for new Monitor
Re: [slrn] Windows console and utf-8
#226068
Author: W. Citoan
Date: Thu, 18 Sep 2008 19:48
23 lines
2072 bytes
andrew wrote:
> 
>  However I still get a lot of mystery characters in posts usually
>  related to accents, diacritical marks etc. I suspect that one problem
>  is that I have yet to find a font for cmd.exe that will show these
>  adequately as I have failed also to find a font that will do the same
>  in gvim.

Yes, you need to set the console to display UTF-8.  See the next to last
post on this page for some help:
http://www.perlmonks.org/?node_id=329433

I don't bother with UTF-8 in slrn, but for some other uses setting the
font to the TT Lucida Console option & running the "chcp 65001" command
worked.  Well, worked in the sense that it displayed UTF-8 characters.
I find that font to be less than pleasing for long-term use.

- W. Citoan
-- 
If ever there could be a proper time for mere catch arguments, that time
surely is not now. In times like the present, men should utter nothing for
which they would not willingly be responsible through time and in eternity.
-- Abraham Lincoln
Re: [slrn] Windows console and utf-8
#226094
Author: andrew
Date: Fri, 19 Sep 2008 01:37
24 lines
2030 bytes
On 2008-09-18, W. Citoan <wcitoan@NOSPAM-yahoo.com> wrote:

> Yes, you need to set the console to display UTF-8.  See the next to last
> post on this page for some help:
> http://www.perlmonks.org/?node_id=329433
>
> I don't bother with UTF-8 in slrn, but for some other uses setting the
> font to the TT Lucida Console option & running the "chcp 65001" command
> worked.  Well, worked in the sense that it displayed UTF-8 characters.
> I find that font to be less than pleasing for long-term use.

Thanks for these suggestions. I have set all as suggested and I have a
suspicion that I have gone as far as is possible with the windows
console. Can you see _all_ the Greek characters at:

Message-ID: <20080918134936.203@ilium.andrews-corner.org>

I would love to see a screenshot of other windows slrn users accessing
this message.

  Andrew

-- 
Do you think that's air you're breathing?
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