![]() |
#4 |
Участник
|
Вожно воспользоваться winapi
client static binary MultiByteToWideChar(str inS) { DLL _dll = new DLL("KERNEL32.dll"); DLLFunction _MultiByteToWideChar = new DLLFunction(_dll, "MultiByteToWideChar"); Binary bin = new Binary (10240); Binary res = new Binary (10240 * 2); int len; int i; ; _MultiByteToWideChar.arg(ExtTypes: ![]() ![]() ![]() ExtTypes::Pointer, ExtTypes: ![]() _MultiByteToWideChar.returns(ExtTypes: ![]() len = strLen(inS); bin.string(1, inS); _MultiByteToWideChar.call(65001, 0, bin, len, res, len); return res; } Это функция для перекодировки С уважэением, Дмитрий. |
|