The Free and Open Productivity Suite
Follow us on Twitter: @ApacheOO

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

Apache Software Foundation

Copyright & License | Privacy | Website Feedback | Contact Us | Donate | Thanks

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.