Add charset_from_locale(), a best-effort attempt to return the
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 22 Apr 2004 17:27:57 +0000 (17:27 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 22 Apr 2004 17:27:57 +0000 (17:27 +0000)
commit8a731dfa62b17746dca94840c6d81c126af45ed4
tree11bd29aa48de6f4dab6d02489b6ade176d57a4b7
parent51e2b7c771578b6c4b309ace02ef2bfd727b7358
Add charset_from_locale(), a best-effort attempt to return the
libcharset CS_* identifier for the character set indicated by the
active locale. Uses code from Markus Kuhn's website.

git-svn-id: svn://svn.tartarus.org/sgt/charset@4115 cda61777-01e9-0310-a592-d414129be87e
Makefile
charset.h
locale.c [new file with mode: 0644]