Logo Search packages:      
Sourcecode: icu version File versions

U_INTERNAL const char* U_EXPORT2 uprv_getDefaultCodepage ( void   )

Please use ucnv_getDefaultName() instead. Return the default codepage for this platform and locale. This function can call setlocale() on Unix platforms. Please read the platform documentation on setlocale() before calling this function.

Returns:
the default codepage for this platform

Definition at line 1962 of file putil.c.

References NULL.

{
    static char const  *name = NULL;
    umtx_lock(NULL);
    if (name == NULL) {
        name = int_getDefaultCodepage();
    }
    umtx_unlock(NULL);
    return name;
}

Generated by  Doxygen 1.6.0   Back to index