[MPlayer-dev-eng] [PATCH] GTK2 support

Artur Zaprzała zybi at talex.pl
Mon Feb 20 12:22:33 CET 2006


Reimar Doeffinger wrote:
> Though I do not know how to detect the charset of the terminal...

#include <langinfo.h>
charset = strdup(nl_langinfo(CODESET));

or use locale-dependent conversion functions like wcsrtombs instead of iconv.


Greetings,
Artur Zaprzała




More information about the MPlayer-dev-eng mailing list