Re: ???????????????



On 2007-10-30, Thomas Wiegner <wiegner@xxxxxx> wrote:
On 2007-10-30, andrew <andrew@xxxxxxxxxxxxx> wrote:

Looks like your copy of slrn has mangled the text?

No, his version could perfectly display this if
- he is running slrn in a UTF-8 locale
- has fonts installed wich can display chinese characters

When running e.g. in a iso-8859-1 locale there is no way to translate
chinese characters into iso-8859-1 characters.

Thanks for that Thomas. I now remember that the trigger to change the
locale on my own computer to UTF-8 was a Japanese sig file in another
group which slrn rendered as ?????.

Mind you I did see the following message in the script that set the
locale (slackware):

# There is also support for UTF-8 locales, but be aware that
# some programs are not yet able to handle UTF-8 and will fail to
# run properly. In those cases, you can set LANG=C before
# starting them. Still, I'd avoid UTF unless you actually need it.

I wonder how many distros feature UTF-8 support out of the box?
Slackware does not while ubuntu does...

Andrew

--
Among the tales of sorrow and of ruin that come down to us
from the darkness of those days there are yet some in which
amid weeping there is joy and under the shadow of death light
endures ...
.



Relevant Pages

  • Re: UTF-8
    ... For instance, if your UTF-8 represents Chinese characters, and your locale is currently Chinese, then it's only a few lines of code. ... Here's a bit of code that will convert between UTF-8 from a file and Unicode. ...
    (microsoft.public.vb.general.discussion)
  • Re: UTF-8
    ... For instance, if your UTF-8 represents Chinese characters, and your locale ... Here's a bit of code that will convert between UTF-8 from a file and Unicode ...
    (microsoft.public.vb.general.discussion)
  • Re: ISO-8859-1 and gnome-terminal in Ubuntu
    ... UTF-8 by default and the mutt wiki suggests we should use 8859. ... Since almost every mail I get comes with 8859 charset and I was having ... Locale settings, what results do you get if you type "locale" in ...
    (comp.mail.mutt)
  • setenv locale / utf-8
    ... UTF-8 mails by another server. ... I checked my installed locales with locale -a. ... Now I got the following warnings if I'm trying to execute a perl script: ... perl: warning: Setting locale failed. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: _MBCS
    ... Linux also use UTF-8 as the ... characters need to use the user's locale which binds you to the OS. ... A significant part of this goes into conversion tables and other ... split inside a character sequence. ...
    (microsoft.public.vc.language)