D
Language
Phobos
Comparisons
object
std
std.base64
std.boxer
std.compiler
std.conv
std.cover
std.ctype
std.date
std.demangle
std.file
std.format
std.gc
std.intrinsic
std.math
std.md5
std.mmfile
std.openrj
std.outbuffer
std.path
std.process
std.random
std.recls
std.regexp
std.socket
std.socketstream
std.stdint
std.stdio
std.cstream
std.stream
std.string
std.system
std.thread
std.uri
std.utf
std.zip
std.zlib
std.c.fenv
std.c.math
std.c.process
std.c.stdarg
std.c.stddef
std.c.stdio
std.c.stdlib
std.c.string
std.c.time
std.c.wcharh
std.windows.charset
std.windows
std.linux
std.c.windows
std.c.linux
|
std.windows.charset
Support UTF-8 on Windows 95, 98 and ME systems.
- int useWfuncs;
- If non-zero, the application should use the W versions of Windows API
functions and std.utf.toUTF16z and toUTF8, rather than toMBSz and
fromMBSz.
- char* toMBSz(char[] s, uint codePage = cast(uint)0);
- Converts the UTF-8 string s into a null-terminated string in a Windows
8-bit character set.
Params:
char[] s |
UTF-8 string to convert. |
uint codePage |
is the number of the target codepage, or
0 - ANSI,
1 - OEM,
2 - Mac |
Authors:
yaneurao, Walter Bright, Stewart Gordon
- char[] fromMBSz(char* s, int codePage = 0);
- Converts the null-terminated string s from a Windows 8-bit character set
into a UTF-8 char array.
Params:
char* s |
UTF-8 string to convert. |
int codePage |
is the number of the source codepage, or
0 - ANSI,
1 - OEM,
2 - Mac |
Authors:
Stewart Gordon, Walter Bright
|