Expand description
8-bit string converters for Windows systems.
Structs§
- Encoder
Code Page - Encoding for use WinAPI calls: MultiByteToWideChar and WideCharToMultiByte.
Constants§
- MB_
COMPOSITE - Always use decomposed characters, that is, characters in which a base character and one or more nonspacing characters each have distinct code point values.
- MB_
ERR_ INVALID_ CHARS - Fail if an invalid input character is encountered.
- MB_
PRECOMPOSED - Always use precomposed characters, that is, characters having a single character value for a base or nonspacing character combination.
- MB_
USEGLYPHCHARS - Use glyph characters instead of control characters.
- WC_
COMPOSITECHECK - Convert composite characters, consisting of a base character and a nonspacing character, each with different character values.
- WC_
DEFAULTCHAR - Replace exceptions with the default character during conversion.
- WC_
DISCARDNS - Discard nonspacing characters during conversion.
- WC_
ERR_ INVALID_ CHARS - Fail if an invalid input character is encountered.
- WC_
NO_ BEST_ FIT_ CHARS - Translate any Unicode characters that do not translate directly to multibyte equivalents to the default character specified by lpDefaultChar.
- WC_
SEPCHARS - Default. Generate separate characters during conversion.
Functions§
- multi_
byte_ to_ wide_ char - Wrapper for MultiByteToWideChar.
- string_
to_ multibyte - Convert String to 8-bit string.
- wide_
char_ to_ multi_ byte - Wrapper for WideCharToMultiByte.