Character set of a locale

Florian Weimer fweimer@redhat.com
Wed Sep 9 11:39:00 GMT 2015


Is there a way to print the character set of the current locale using a
command line tool?  “locale” does not print this information, unfortunately.

I know I can get it programatically with nl_langinfo(CODESET).  It would
just be nice to have this as a simple command-line tool (maybe one which
also could examine locale files directly).

-- 
Florian Weimer / Red Hat Product Security



More information about the Libc-help mailing list