Thread View: news.software.readers
19 messages
19 total messages
Started by houghi
Sun, 27 Sep 2009 10:46
[slrn] Special characters are shown strange
Author: houghi
Date: Sun, 27 Sep 2009 10:46
Date: Sun, 27 Sep 2009 10:46
20 lines
2010 bytes
2010 bytes
n the past I never had a problem with it, but I have done a new installation and when I run slrn, I get instead of the nice tree-structure, some A charcter followed by two sqares. Als words with e.g. an umlaut are shown wrong and show the code rather then the letter. I have no issues in other CLI programs, so I asume it is some setting in slrn, although I did not change anything over the years. It runs on openSUSE 11.1 64 bit. It is only mildly annoyig, so that is why I came up with it now. houghi -- But I will accept the rules that you feel necessary to your freedom. I am free, no matter what rules surround me. If I find them tolerable, I tolerate them; if I find them too obnoxious, I break them. I am free because I know that I alone am morally responsible for everything I do.
Re: [slrn] Special characters are shown strange
Author: Thomas Wiegner
Date: Sun, 27 Sep 2009 14:36
Date: Sun, 27 Sep 2009 14:36
14 lines
1287 bytes
1287 bytes
On Sun, 27 Sep 2009, houghi <houghi@houghi.org.invalid> wrote: [ slrn probs with special chars ...] You should upgrade you slrn version, 0.9.8pl1 is known to have problems with UTF-8, which probably is your problem. http://www.slrn.org/download.html Versions of 0.9.9 are available for openSuse. Cheers, Thomas
Re: [slrn] Special characters are shown strange
Author: houghi
Date: Sun, 27 Sep 2009 18:41
Date: Sun, 27 Sep 2009 18:41
20 lines
2187 bytes
2187 bytes
Thomas Wiegner wrote: > On Sun, 27 Sep 2009, houghi <houghi@houghi.org.invalid> wrote: > > [ slrn probs with special chars ...] > > You should upgrade you slrn version, 0.9.8pl1 is known to have problems with > UTF-8, which probably is your problem. > > http://www.slrn.org/download.html > > Versions of 0.9.9 are available for openSuse. No difference. houghi -- But I will accept the rules that you feel necessary to your freedom. I am free, no matter what rules surround me. If I find them tolerable, I tolerate them; if I find them too obnoxious, I break them. I am free because I know that I alone am morally responsible for everything I do.
Re: [slrn] Special characters are shown strange
Author: Thomas Wiegner
Date: Sun, 27 Sep 2009 19:25
Date: Sun, 27 Sep 2009 19:25
27 lines
1752 bytes
1752 bytes
On Sun, 27 Sep 2009, houghi <houghi@houghi.org.invalid> wrote: >> [ slrn probs with special chars ...] >> >> You should upgrade you slrn version, 0.9.8pl1 is known to have problems with >> UTF-8, which probably is your problem. >> >> http://www.slrn.org/download.html >> >> Versions of 0.9.9 are available for openSuse. > > No difference. You could check if some charset settings are wrong. What is the locale of your shell? Could you post the last two blocks of "slrn --show-config"? (charset config and slang utf-8 settings). Please also note, that the config settings regarding charset have changed in slrn version 0.9.9 <http://www.slrn.org/docs/slrn-manual-5.html#charset> Cheers, Thomas
Re: [slrn] Special characters are shown strange
Author: houghi
Date: Sun, 27 Sep 2009 19:52
Date: Sun, 27 Sep 2009 19:52
35 lines
2540 bytes
2540 bytes
Thomas Wiegner wrote:
> You could check if some charset settings are wrong. What is the locale of your
> shell?
houghi@penne : echo $LANG
en_US.UTF-8
> Could you post the last two blocks of "slrn --show-config"?
> (charset config and slang utf-8 settings).
Character set configuration:
display=UTF-8
config=
outgoing=UTF-8
editor=
S-Lang UTF-8 configuration:
Global: 1
SLinterp: 1
SLsmg: 1
SLtt: 1
> Please also note, that the config settings regarding charset have changed in
> slrn version 0.9.9
>
> <http://www.slrn.org/docs/slrn-manual-5.html#charset>
Mmm. That did not help me at all. :-(
houghi
--
But I will accept the rules that you feel necessary to your freedom. I am
free, no matter what rules surround me. If I find them tolerable, I
tolerate them; if I find them too obnoxious, I break them. I am free
because I know that I alone am morally responsible for everything I do.
--
Author: _
Date: Sun, 27 Sep 2009 20:07
Date: Sun, 27 Sep 2009 20:07
3 lines
1333 bytes
1333 bytes
What slang version are you using ? Feel free to ignore me, I know nearly nothing about slrn.
Re: [slrn] Special characters are shown strange
Author: Thomas Wiegner
Date: Sun, 27 Sep 2009 20:22
Date: Sun, 27 Sep 2009 20:22
33 lines
2055 bytes
2055 bytes
On Sun, 27 Sep 2009, houghi <houghi@houghi.org.invalid> wrote: > houghi@penne : echo $LANG > en_US.UTF-8 > > Character set configuration: > display=UTF-8 > config= > outgoing=UTF-8 > editor= > S-Lang UTF-8 configuration: > Global: 1 > SLinterp: 1 > SLsmg: 1 > SLtt: 1 Hmm, I have no clue, what goes wrong. This looks exactly like it should. Could it be, that the articles, which show problems are simply wrong encoded? Could you provide a message-ID? In this case, tweeking the fallback_charset variable might help. http://www.slrn.org/docs/slrn-manual-6.html#ss6.25 Cheers, Thomas PS: Does my sig display correctly? -- Mit UTF-8 kann man gleichzeitig äöüßÄÖÜæœłø‱¼½¾¤¹²³¢€£¥¶§¬÷×±©®™¡¿ verwenden…
Re: [slrn] Special characters are shown strange
Author: houghi
Date: Sun, 27 Sep 2009 21:29
Date: Sun, 27 Sep 2009 21:29
25 lines
2250 bytes
2250 bytes
Thomas Wiegner wrote: > Could you provide a message-ID? > > In this case, tweeking the fallback_charset variable might help. > http://www.slrn.org/docs/slrn-manual-6.html#ss6.25 Again not sure what I should do with that information. :-( > Cheers, > > Thomas > > PS: Does my sig display correctly? http://houghi.org/test/slrn.jpg So no. Also look at the message at the top where there should be a nice arrow to follow the thread with a nice (in my case) red line. houghi -- Always listen to experts. They'll tell you what can't be done, and why. Then do it. -- Heinlein : Time Enough For Love
Re: [slrn] Special characters are shown strange
Author: Marcel Bruinsma
Date: Mon, 28 Sep 2009 03:18
Date: Mon, 28 Sep 2009 03:18
43 lines
2348 bytes
2348 bytes
Am Sonntag, 27. September 2009 23:29, houghi a écrit : > Thomas Wiegner wrote: > >> PS: Does my sig display correctly? > > http://houghi.org/test/slrn.jpg > > So no. It looks like slrn is ignoring the MIME headers (below) from Thomas' article. The utf8 multi-byte characters are displayed as if each byte is a single latin1 (or latin15 or cp1252) character. The first character (a-Umlaut), for example, is a two byte sequence in utf8 encoding : $ printf 'ä' | od -b 0000000 303 244 0000002 If you show them as two latin1 encoded characters the result is the same as your jpg : $ printf '\303\244\n'|iconv -flatin1 ä That's an A with tilde, and the currency sign. To you they will look like four characters, but this time it's not caused by "een pintje teveel". :-) Headers from Thomas' article : Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit -- printf -v email $(echo \ 155 141 162 143 145 154 142 162 165 151 \ 156 163 155 141 100 171 141 150 157 157 056 143 157 155|tr \ \\\\) # Live every life as if it were your last! #
Re: [slrn] Special characters are shown strange
Author: John E. Davis
Date: Mon, 28 Sep 2009 04:02
Date: Mon, 28 Sep 2009 04:02
10 lines
1521 bytes
1521 bytes
On Sun, 27 Sep 2009 23:29:14 +0200, houghi <houghi@houghi.org.invalid> wrote: > http://houghi.org/test/slrn.jpg What terminal are you using? Does it know anything about unicode? Are you using a unicode font? Thanks, --John
Re: [slrn] Special characters are shown strange
Author: Thomas Wiegner
Date: Mon, 28 Sep 2009 16:24
Date: Mon, 28 Sep 2009 16:24
27 lines
1978 bytes
1978 bytes
On Sun, 27 Sep 2009, houghi <houghi@houghi.org.invalid> wrote: >> PS: Does my sig display correctly? > > http://houghi.org/test/slrn.jpg > > So no. Also look at the message at the top where there should be a nice > arrow to follow the thread with a nice (in my case) red line. As pointed out by the others, you should check if your terminal is capable of displaying UTF-8. A good test would be to get http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt and check if this is displayed correctly on you terminal. You should also check, if you somehow have an alias which wraps 'luit' around slrn. luit is a wrapper, which is used to convert the in- and output of a non UTF-8 capable application in a UTF-8 locale. Cheers, Thomas -- [X] Nail here for new Monitor
Re: [slrn] Special characters are shown strange
Author: houghi
Date: Mon, 28 Sep 2009 19:03
Date: Mon, 28 Sep 2009 19:03
22 lines
2231 bytes
2231 bytes
John E. Davis wrote: > On Sun, 27 Sep 2009 23:29:14 +0200, houghi <houghi@houghi.org.invalid> > wrote: >> http://houghi.org/test/slrn.jpg > > What terminal are you using? tty1, aterm, xterm. > Does it know anything about unicode? I asume it does. Would surprise me if they would not. > Are you using a unicode font? Sorry, no idea. houghi -- Always listen to experts. They'll tell you what can't be done, and why. Then do it. -- Heinlein : Time Enough For Love
Re: [slrn] Special characters are shown strange
Author: houghi
Date: Mon, 28 Sep 2009 19:12
Date: Mon, 28 Sep 2009 19:12
31 lines
2597 bytes
2597 bytes
Thomas Wiegner wrote: > http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt > > and check if this is displayed correctly on you terminal. That looks as it should, except for the Etiopian one. Tried it both with lynx and with less. Just seeing what this gives: The Greek anthem: ?? ??????? ??? ??? ???? ??? ??????? ??? ???????, ?? ??????? ??? ??? ??? ??? ?? ??? ??????? ?? ??. Mmm. A copy and paste only gives me question marks. > You should also check, if you somehow have an alias which wraps > 'luit' around slrn. luit is a wrapper, which is used to convert the > in- and output of a non UTF-8 capable application in a UTF-8 locale. houghi@penne : alias slrn bash: alias: slrn: not found houghi -- Always listen to experts. They'll tell you what can't be done, and why. Then do it. -- Heinlein : Time Enough For Love
Re: [slrn] Special characters are shown strange
Author: andrew
Date: Tue, 29 Sep 2009 06:25
Date: Tue, 29 Sep 2009 06:25
23 lines
2100 bytes
2100 bytes
On 2009-09-28, houghi <houghi@houghi.org.invalid> wrote: > Just seeing what this gives: > The Greek anthem: > > ?? ??????? ??? ??? ???? > ??? ??????? ??? ???????, > ?? ??????? ??? ??? ??? > ??? ?? ??? ??????? ?? ??. > > Mmm. A copy and paste only gives me question marks. Hmmm... well worth fixing, one of the things that made me a truly confirmed slrn user was the handling of Greek. I note that a display of the ancient form of the Greek language appears on the slrn website: http://slrn.sourceforge.net/gallery/screenshot_07.html although I am not sure of the significance of Neo in this screenshot :). Andrew -- Do you think that's air you're breathing?
Re: [slrn] Special characters are shown strange
Author: John E. Davis
Date: Tue, 29 Sep 2009 14:31
Date: Tue, 29 Sep 2009 14:31
25 lines
1902 bytes
1902 bytes
On Mon, 28 Sep 2009 21:03:45 +0200, houghi <houghi@houghi.org.invalid> wrote: >> What terminal are you using? > > tty1, aterm, xterm. What OS? What slang version? (slrn --version) >> Does it know anything about unicode? > > I asume it does. Would surprise me if they would not. Try starting xterm via: xterm -u8 Also, what does `locale` produce? Also, what does `slrn --show-config | tail` show about the UTF-8 configuration? >> Are you using a unicode font? > > Sorry, no idea. Try: -Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1 Thanks, --John
--
Author: _
Date: Tue, 29 Sep 2009 14:36
Date: Tue, 29 Sep 2009 14:36
5 lines
1314 bytes
1314 bytes
houghi told us he sees Unicode just fine; so he has the fonts and all that. I think it's his slang version ( slrn --version ).
Re: houghi, what slang version are you using ?
Author: Peter J Ross
Date: Sat, 03 Oct 2009 03:24
Date: Sat, 03 Oct 2009 03:24
21 lines
2065 bytes
2065 bytes
In news.software.readers on Sun, 27 Sep 2009 20:07:22 +0000 (UTC), _@Jeff_Relf.Seattle.inValid wrote: > What slang version are you using ? > Feel free to ignore me, I know nearly nothing about slrn. It's a very good question. houghi, what's the output of slrn --version | grep S-Lang You should see something like S-Lang Library Version: 2.2.1 but if you see version 1.x instead of 2.x, you're using a version of S-Lang that's incapable of understanding UTF-8. -- PJR :-) slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/ extra slrn documentation: http://slrn-doc.sourceforge.net/ newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Re: [slrn] Special characters are shown strange
Author: houghi
Date: Sun, 04 Oct 2009 10:15
Date: Sun, 04 Oct 2009 10:15
59 lines
3389 bytes
3389 bytes
Sorry for the delay. I was not at my PC, so I could not answer all
questions.
John E. Davis wrote:
>> tty1, aterm, xterm.
>
> What OS? What slang version? (slrn --version)
houghi@penne : slrn --version
slrn 0.9.9p1
S-Lang Library Version: 2.1.1
Compiled at: Jun 7 2009 02:22:45
Operating System: Linux
COMPILE TIME OPTIONS:
Backends: +nntp +slrnpull +spool
External programs / libs: -canlock -inews -ssl -uudeview +iconv
Features: +decoding +emphasized_text +end_of_thread +fake_refs
+gen_msgid
-grouplens -msgid_cache +piping +rnlock +spoilers -strict_from
Using 64 bit integers for article numbers.
DEFAULTS:
Default server object: nntp
Default posting mechanism: nntp
> Try starting xterm via: xterm -u8
Will report on that later.
> Also, what does `locale` produce? Also, what does
> `slrn --show-config | tail` show about the UTF-8 configuration?
houghi@penne : slrn --show-config | tail
Character set configuration:
display=UTF-8
config=
outgoing=UTF-8
editor=
S-Lang UTF-8 configuration:
Global: 1
SLinterp: 1
SLsmg: 1
SLtt: 1
>>> Are you using a unicode font?
>>
>> Sorry, no idea.
>
> Try: -Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1
Sorry to sound dumb, but how?
houghi
--
Quote correct (NL) http://www.briachons.org/art/quote/
Zitiere richtig (DE) http://www.afaik.de/usenet/faq/zitieren
Quote correctly (EN) http://www.netmeister.org/news/learn2quote.html
Re: [slrn] Special characters are shown strange
Author: houghi
Date: Sun, 04 Oct 2009 10:52
Date: Sun, 04 Oct 2009 10:52
21 lines
2442 bytes
2442 bytes
houghi wrote: >> What OS? What slang version? (slrn --version) Sorry, openSUSE 11.1 I tried it just now in Gnome-Terminal and Konsole and re-tried it in xterm and now it looks good. It does not work in aterm or wterm (did in the past) and not when I ssh from work with putty, so I asume it is a local setting and not slrn as such. Thanks everybody anyway for thinking with me and sorry for the wrong conclusion. I will find help elsewhere for my problem. [Whether this is mental or software I will leave to the beholder. ;-) ] houghi -- Quote correct (NL) http://www.briachons.org/art/quote/ Zitiere richtig (DE) http://www.afaik.de/usenet/faq/zitieren Quote correctly (EN) http://www.netmeister.org/news/learn2quote.html
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