On Wed, Sep 19, 2012 at 04:12:57AM +0200, Peter Stuge wrote:
Holger Hans Peter Freyther wrote:
I think a library should not call setlocale as it will impact the entire application. I think our only other realistic option is to use iconv (and stub it out for osmocomBB). Do you think you could try to create such a patch?
I'd suggest http://www.lemoda.net/c/ucs2-to-utf8/ and simply output UTF-8.
interesting, but unfortunately comes without any indication of license. I will contact the author. -- - Harald Welte <laforge@gnumonks.org> http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)