#cant read unicode from file to edit box winapi
1 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
what unicode encoding exactly
utf8 persian characters
windows unicode APIs expect UTF-16, so you'd have to convert it first
do you want me to convert unicode to utf16 so that it will be readable on edot box?
yeah
@uneven sky Has your question been resolved? If so, run !solved :)
there's also the possibility of enabling UTF-8 support for the WhateverA windows functions
fixed!
for guys who wonder how to convert, check this out:
std::wstring wBuffer = L"hello";
std::string str;
std::wstring_convert<std::codecvt_utf16<wchar_t>> converter;
str = converter.to_bytes(wBuffer);
!solved