This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Character set of a locale
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-help <libc-help at sourceware dot org>
- Date: Wed, 9 Sep 2015 13:39:43 +0200
- Subject: Character set of a locale
- Authentication-results: sourceware.org; auth=none
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