Third, I've run to problems with my Windows-1250 filesystem encoding. I can't use polish special characters in filepath because it does not work. On linux there's no problem.
On windows, CL_IODeviceProvider_File::open() contains:
Code:
handle = CreateFile(
CL_StringHelp::utf8_to_ucs2(filename).c_str(),
win32_desired_access,
win32_share_mode,
win32_security_attributes,
win32_create_mode,
win32_flags,
0);
and
Code:
/// \brief Utf8 to ucs2
///
/// \param utf8 = String Ref8
///
/// \return Temp String16
static CL_String16 utf8_to_ucs2(const CL_StringRef8 &utf8);
It would be interesting to see what that function is returning at that stage. (UTF-8 to widechar conversion)
Are you sure the initial filename is UTF-8? You may need to save the source code file with UTF-8 encoding.
Bookmarks