Re: Charset 0.9.9-99 and OSX

Thomas Wiegner <[email protected]>
Newsgroups gmane.network.slrn.user
Organization Powered by Penguin
Message-ID <20080316211819.GA16266@fliewatuet>
* Gufo ([email protected]) wrote [Sun, 080316 20:19]:

> I'm using slrn-0.9.9-99 on OSX and i'm experiencing problems with the
> localization.
> In this article lfWzj.261437$%[email protected] , for example, 
> all "Ú" became "?".

> My configuration is as following, and even if my LANG variable is set to
> UTF-8 slrn uses US_ASCII for display and outgoing, I'm I supposed to set
> something to make it use utf-8 by default or shoud it recognize the
> locale by itself and this is a bug?

slrn detects it from the locale if your system provides the
nl_langinfo() function.

You can check this in the config.h file, it only works if it
contains the lines:

#define HAVE_LOCALE_H 1
#define HAVE_LANGINFO_H 1

> Character set configuration:
> 	display=US-ASCII
> 	config=
> 	outgoing=US-ASCII
> 	editor=

Seems it does not work. You  should try to add

#v+
charset display utf-8
charset outgoing iso-8859-15,utf-8
#v-

in your .slrnrc

http://www.foory.de/thw/slrn/manual/slrn-manual-5.html#charset

Cheers,

 Thomas

-- 
The first time you'll get a Microsoft product, that doesn't suck, will
be the day they start producing vacuum cleaners. (unknown)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
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.