Petter Reinholdtsen wrote:
[Mats Wichmann]I don't think so, since the result for most of the locales is the same as if the locale is not installed, and thus doesn't help us tell the locale is installed.Really? I thought very few locales used ASCII (ANSI_X3.4-1968) as their charmap. German and French do not.
On a system I just tried it on: $ LANG=C locale charmap UTF-8 $ LANG=fr_FR locale charmap UTF-8 $ LANG=XXXXX locale charmap UTF-8