|
| #define | oslCccSJIStoUCS2 cccSJIStoUCS2 |
| | Convert characters from Shift JIS encoding to UCS2 encoding.
|
| |
| #define | oslCccGBKtoUCS2 cccGBKtoUCS2 |
| | Convert characters from GBK encoding to UCS2 encoding.
|
| |
| #define | oslCccKORtoUCS2 cccKORtoUCS2 |
| | Convert characters from Korean encoding to UCS2 encoding.
|
| |
| #define | oslCccBIG5toUCS2 cccBIG5toUCS2 |
| | Convert characters from BIG5 encoding to UCS2 encoding.
|
| |
| #define | oslCccUTF8toUCS2 cccUTF8toUCS2 |
| | Convert characters from UTF-8 encoding to UCS2 encoding.
|
| |
| #define | oslCccCodetoUCS2 cccCodetoUCS2 |
| | Convert characters from a specified code page to UCS2 encoding.
|
| |
| #define | oslCccSetErrorCharUCS2 cccSetErrorCharUCS2 |
| | Set the error character for failed code conversions.
|
| |
| #define | oslCccShutDown cccShutDown |
| | Shutdown the Character Code Conversion Library.
|
| |
Functions for character code conversion using BenHur's intraFont library.
◆ oslCccSJIStoUCS2
| #define oslCccSJIStoUCS2 cccSJIStoUCS2 |
Convert characters from Shift JIS encoding to UCS2 encoding.
- Parameters
-
| dst | Output buffer for the converted string. |
| count | Size of the output buffer. |
| str | Input string in Shift JIS encoding. |
| cp | Code page to use for conversion. |
- Returns
- Number of converted character codes.
◆ oslCccGBKtoUCS2
| #define oslCccGBKtoUCS2 cccGBKtoUCS2 |
Convert characters from GBK encoding to UCS2 encoding.
- Parameters
-
| dst | Output buffer for the converted string. |
| count | Size of the output buffer. |
| str | Input string in GBK encoding. |
| cp | Code page to use for conversion. |
- Returns
- Number of converted character codes.
◆ oslCccKORtoUCS2
| #define oslCccKORtoUCS2 cccKORtoUCS2 |
Convert characters from Korean encoding to UCS2 encoding.
- Parameters
-
| dst | Output buffer for the converted string. |
| count | Size of the output buffer. |
| str | Input string in Korean encoding. |
| cp | Code page to use for conversion. |
- Returns
- Number of converted character codes.
◆ oslCccBIG5toUCS2
| #define oslCccBIG5toUCS2 cccBIG5toUCS2 |
Convert characters from BIG5 encoding to UCS2 encoding.
- Parameters
-
| dst | Output buffer for the converted string. |
| count | Size of the output buffer. |
| str | Input string in BIG5 encoding. |
| cp | Code page to use for conversion. |
- Returns
- Number of converted character codes.
◆ oslCccUTF8toUCS2
| #define oslCccUTF8toUCS2 cccUTF8toUCS2 |
Convert characters from UTF-8 encoding to UCS2 encoding.
- Parameters
-
| dst | Output buffer for the converted string. |
| count | Size of the output buffer. |
| str | Input string in UTF-8 encoding. |
| cp | Code page to use for conversion. |
- Returns
- Number of converted character codes.
◆ oslCccCodetoUCS2
| #define oslCccCodetoUCS2 cccCodetoUCS2 |
Convert characters from a specified code page to UCS2 encoding.
- Parameters
-
| dst | Output buffer for the converted string. |
| count | Size of the output buffer. |
| str | Input string in the specified code page. |
| cp | Code page to use for conversion. |
- Returns
- Number of converted character codes.
◆ oslCccSetErrorCharUCS2
| #define oslCccSetErrorCharUCS2 cccSetErrorCharUCS2 |
Set the error character for failed code conversions.
The error character is used when a code point cannot be converted to UCS2.
- Parameters
-
| code | New error character (default: 0). |
- Returns
- Previous error character.
◆ oslCccShutDown
| #define oslCccShutDown cccShutDown |
Shutdown the Character Code Conversion Library.
This function cleans up any resources used by the Character Code Conversion Library.