Re: UTF-8-problems; more tolerance for invalid charsets

Thomas Wiegner <[email protected]>
Newsgroups gmane.network.slrn.user
Organization Powered by Penguin
Message-ID <20070806155150.GA6755@fliewatuet>
* Martin Trautmann ([email protected]) wrote [Mon, 070806 16:13]:

> thanks to some excellent help I finally managed to compile slrn
> for linux and Mac.

> Now I feel that some utf problems where fixed, while others are
> even worse than before

[ lot of problems snipped ]

First of all, you'll run into problems reading postings with missing
charset declarations containing umlauts, make sure you have at least
my fallback_charset patch installed.

As you are using a Mac, do you have libiconv installed? If I
remember correctly, the iconv support in OSX is not included in
libc like it is in Linux. If your slrn is not compiled against
libiconv I don't think it will work very good with *any* charset
other than *us-ascii*.

Are you running slrn in a UTF-8 terminal? slrn detects the
termencoding from the locale settings? The locale settings can be
overridden by the undocumented config option "charset Display".
Set this to "iso-8859-15" or "utf-8" depending on you terminal
capabilities.

 Cheers,

  Thomas

-- 
slrn charset patches: http://www.foory.de/thw/slrn/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.