Home |
Function rtsmb_cli_ez_set_user_ex Function rtsmb_set_codepage_OEM Function rtsmb_set_codepage_ANSI Function rtsmb_set_codepage_UTF8 Function rtsmb_unicode_to_ascii |
Function rtsmb_unicode_to_asciirtsmb_unicode_to_ascii translates a 16-bit Unicode string (for example, a file name) to the current 8-bit character set: void rtsmb_unicode_to_ascii(const wchar_t * src, char * dest, UINT MaxLength); ParameterssrcPointer to a NUL-terminated Unicode string to translate. destPointer to a buffer to receive the translated string. MaxLengthSize in bytes of the buffer pointed to by dest. If the supplied buffer space is insufficient, the string is truncated and NUL-terminated. The string is translated to the currently active code page, established with the last call to rtsmb_set_codepage or rtsmb_set_codepage_UTF8. If no such function was previously called, OEM code page 437 is used by default. Function rtsmb_set_codepage_UTF8
|