LibreOffice Module unotools (master) 1
|
#include <sal/config.h>
#include <string_view>
#include <unotools/wincodepage.hxx>
#include <rtl/textenc.h>
Go to the source code of this file.
Functions | |
rtl_TextEncoding | utl_getWinTextEncodingFromLangStr (const OUString &sLanguage, bool bOEM) |
Map from an ISO-639 language code (and optionally ISO-3166 country/region code) to a text encoding of corresponding Windows ANSI or OEM codepage. More... | |
rtl_TextEncoding utl_getWinTextEncodingFromLangStr | ( | const OUString & | sLanguage, |
bool | bOEM = false |
||
) |
Map from an ISO-639 language code (and optionally ISO-3166 country/region code) to a text encoding of corresponding Windows ANSI or OEM codepage.
sLanguage | Any language-country string. Must not be null. |
bOEM | If true, OEM codepage is returned, otherwise ANSI. |
Definition at line 134 of file wincodepage.cxx.