wincp.c File Reference

Include dependency graph for wincp.c:


Functions

static int locale_match (const char *tab, const char *locale)
static const char * FindFallbackEncoding (const char *locale)
const char * GetFallbackEncoding (void)
 GetFallbackEncoding() suggests an encoding to be used for non UTF-8 text files accord to the system's local settings.

Function Documentation

static const char* FindFallbackEncoding ( const char *  locale  )  [static]

Returns:
a fallback characters encoding to be used, given a locale.

References locale_match(), and strcasecmp().

Referenced by GetFallbackEncoding().

const char* GetFallbackEncoding ( void   ) 

GetFallbackEncoding() suggests an encoding to be used for non UTF-8 text files accord to the system's local settings.

It is only a best guess.

References FindFallbackEncoding(), and getenv().

Referenced by OpenDecoder().

static int locale_match ( const char *  tab,
const char *  locale 
) [inline, static]

Referenced by FindFallbackEncoding().


Generated on Wed Mar 31 08:06:13 2010 for VLC by  doxygen 1.5.6