Global Functions in Global Namespace C++
in Sourcefile tencinfo.h
- rtl_getBestMimeCharsetFromTextEncoding
- extern "C"
const sal_Char * rtl_getBestMimeCharsetFromTextEncoding(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Map from a text encoding to the best matching MIME charset.
- Parameters
eTextEncoding |
Any rtl_TextEncoding value.
|
- Return
-
The best matching MIME charset string, or null if none matches.
- rtl_getBestUnixCharsetFromTextEncoding
- extern "C"
const sal_Char * rtl_getBestUnixCharsetFromTextEncoding(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Map from a text encoding to the best matching Unix charset.
- Parameters
eTextEncoding |
Any rtl_TextEncoding value.
|
- Return
-
The best matching Unix charset string, or null if none matches.
- rtl_getBestWindowsCharsetFromTextEncoding
- extern "C"
sal_uInt8 rtl_getBestWindowsCharsetFromTextEncoding(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Map from a text encoding to the best matching numeric Windows charset.
- Parameters
eTextEncoding |
Any rtl_TextEncoding value.
|
- Return
-
The best matching numeric Windows charset, or 1 if none matches.
- rtl_getMimeCharsetFromTextEncoding
- extern "C"
const char * rtl_getMimeCharsetFromTextEncoding(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Map from a text encoding to a corresponding MIME charset name, if
available (see ).
- Parameters
nEncoding |
Any rtl_TextEncoding value.
|
- Return
-
The (preferred) MIME charset name corresponding to the given encoding, or
NULL if none is available.
- rtl_getTextEncodingFromMimeCharset
- extern "C"
rtl_TextEncoding rtl_getTextEncodingFromMimeCharset(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Map from a MIME charset to a text encoding.
- Parameters
pMimeCharset |
Any MIME charset string. Must not be null.
|
- Return
-
The corresponding rtl_TextEncoding value, or RTL_TEXTENCODING_DONTKNOW if
no mapping is applicable.
- rtl_getTextEncodingFromUnixCharset
- extern "C"
rtl_TextEncoding rtl_getTextEncodingFromUnixCharset(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Map from a Unix charset to a text encoding.
- Parameters
pMimeCharset |
Any Unix charset string. Must not be null.
|
- Return
-
The corresponding rtl_TextEncoding value, or RTL_TEXTENCODING_DONTKNOW if
no mapping is applicable.
- rtl_getTextEncodingFromWindowsCharset
- extern "C"
rtl_TextEncoding rtl_getTextEncodingFromWindowsCharset(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Map from a numeric Windows charset to a text encoding.
- Parameters
nWinCharset |
Any numeric Windows charset.
|
- Return
-
The corresponding rtl_TextEncoding value, or RTL_TEXTENCODING_DONTKNOW if
no mapping is applicable.
- rtl_getTextEncodingFromWindowsCodePage
- extern "C"
rtl_TextEncoding rtl_getTextEncodingFromWindowsCodePage(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Map from a Windows code page to a text encoding.
- Parameters
nCodePage |
Any Windows code page number.
|
- Return
-
The corresponding rtl_TextEncoding value (which will be an octet text
encoding, see rtl_isOctetTextEncoding), or RTL_TEXTENCODING_DONTKNOW if no
mapping is applicable.
- rtl_getTextEncodingInfo
- extern "C"
sal_Bool rtl_getTextEncodingInfo(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Return information about a text encoding.
- Parameters
eTextEncoding |
Any rtl_TextEncoding value.
|
pEncInfo |
Returns information about the given encoding. Must not be null, and the
StructSize member must be set correctly.
|
- Return
-
True if information about the given encoding is available, false
otherwise.
- rtl_getWindowsCodePageFromTextEncoding
- extern "C"
sal_uInt32 rtl_getWindowsCodePageFromTextEncoding(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Summary
- Map from a text encoding to a Windows code page.
- Parameters
nEncoding |
Any rtl_TextEncoding value.
|
- Return
-
The corresponding Windows code page number, or 0 if no mapping is
applicable.
- rtl_isOctetTextEncoding
- extern "C"
sal_Bool rtl_isOctetTextEncoding(
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
- Description
- Determine whether a text encoding uses single octets as basic units of
information (and can thus be used with the conversion routines in
rtl/textcvt.h).
- Parameters
nEncoding |
Any rtl_TextEncoding value.
|
- Return
-
True if the given encoding uses single octets as basic units of
information, false otherwise.
Top of Page
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.