[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Displaying characters in user's locale
From: |
Andreas Schwab |
Subject: |
Re: Displaying characters in user's locale |
Date: |
Mon, 03 Feb 2014 00:35:18 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
address@hidden (Karl Berry) writes:
> All I can think of to base the default on the current locale, because
> that's the only information we've got about what the user desires.
> E.g., if the locale is "C" (or, equivalently, "POSIX", of course), the
> target should be plain 7-bit ASCII. If the locale is *.UTF-8, then the
> target should be UTF-8. Etc. (I don't know all the locale names used
> in this context, and can't find anything that seems like a comprehensive
> list, although it must be out there somewhere.)
nl_langinfo(CODESET) returns the name of the locale's character
encoding.
Andreas.
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Re: Displaying characters in user's locale, (continued)
Re: Displaying characters in user's locale, Reinhard Kotucha, 2014/02/02
Re: Displaying characters in user's locale, Gavin Smith, 2014/02/01
Re: Displaying characters in user's locale, Gavin Smith, 2014/02/02