Silly of me to overlook it: another obvious way you might like to
[sgt/charset] / locale.c
2004-04-22 simonAdd charset_from_locale(), a best-effort attempt to...