Overview | Namespace | Class | Index | Help

## Global Functions in Global Namespace C++
in Sourcefile nlsupport.h

osl_getTextEncodingFromLocale
  extern "C"
  rtl_TextEncoding osl_getTextEncodingFromLocale(

    rtl_Locale * | pLocale );

  virtual | abstract | const | volatile | template | static | inline | C-linkage
  NO | NO | NO | NO | NO | NO | NO | YES

  Summary
    Determines the text encoding used by the underlying platform for the specified locale.
  Parameters

    pLocale |
        the locale to return the text encoding for. If this parameter is NULL,
        the default locale of the current process is used.

        @returns the rtl_TextEncoding that matches the platform specific encoding
        description or RTL_TEXTENCODING_DONTKNOW if no mapping is available.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.