std.windows.charset
Windows 95, 98, ME システムでの UTF-8 サポートです
const(char)*
toMBSz(string
s, uint
codePage = 0);
- UTF-8 文字列 s を null 終端の
Windows 8-bit 文字セットに変換します。
Params:
| string s |
変換元の UTF-8 文字列 |
| uint codePage |
変換先のコードページ番号か、
0 - ANSI,
1 - OEM,
2 - Mac |
Authors:
yaneurao, Walter Bright, Stewart Gordon
string
fromMBSz(invariant(char)*
s, int
codePage = 0);
- null 終端のWindows 8-bit 文字セットを、
UTF-8 文字配列に変換します。
Params:
| invariant(char)* s |
変換元の Windows 文字列 |
| int codePage |
変換元のコードページ番号か、
0 - ANSI,
1 - OEM,
2 - Mac |
Authors:
Stewart Gordon, Walter Bright