Commit 7da87030 authored by Christophe Massiot's avatar Christophe Massiot

* src/misc/charset.c: ANSI_X3.4-1968 is also known as ASCII.

parent 43367c1a
...@@ -243,6 +243,8 @@ vlc_bool_t vlc_current_charset( char **psz_charset ) ...@@ -243,6 +243,8 @@ vlc_bool_t vlc_current_charset( char **psz_charset )
# if HAVE_LANGINFO_CODESET # if HAVE_LANGINFO_CODESET
/* Most systems support nl_langinfo( CODESET ) nowadays. */ /* Most systems support nl_langinfo( CODESET ) nowadays. */
psz_codeset = nl_langinfo( CODESET ); psz_codeset = nl_langinfo( CODESET );
if( !strcmp( psz_codeset, "ANSI_X3.4-1968" ) )
psz_codeset = "ASCII";
# else # else
/* On old systems which lack it, use setlocale or getenv. */ /* On old systems which lack it, use setlocale or getenv. */
const char *psz_locale = NULL; const char *psz_locale = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment