<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <style id="bidiui-paragraph-margins" type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style> Hi, thanks for the change. I made my commit. Alon. On 6/5/2021 12:41 AM, Stan Coleby wrote: <meta http-equiv="content-type" content="text/html; charset=UTF-8"> You have developer status and can update. Just make sure that you download the latest version first before you make the change. Otherwise you would wipe out other...
Support for non latin characters in file names under win32
I used this change to src/refimpl/E57FoundationImpl.cpp //add this to somewhere in the top of the file after # if defined(_MSC_VER) # include <io.h> # include <fcntl.h> # include <sys\stat.h> # include <codecvt> and then replace the first few lines of CheckedFile::open64 with this: int CheckedFile::open64(ustring fileName, int flags, int mode) { //??? handle utf-8 file names? #if defined(_MSC_VER) std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>, wchar_t> utf16conv; std::wstring wfileName =...
I used this change to src/refimpl/E57FoundationImpl.cpp int CheckedFile::open64(ustring fileName, int flags, int mode) { //??? handle utf-8 file names? #if defined(_MSC_VER) std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>, wchar_t> utf16conv; std::wstring wfileName = utf16conv.from_bytes(fileName); int handle; int err = _wsopen_s(&handle, wfileName.c_str(), flags, _SH_DENYNO, mode);
I used this change to src/refimpl/E57FoundationImpl.cpp int CheckedFile::open64(ustring fileName, int flags, int mode) { //??? handle utf-8 file names? #if defined(_MSC_VER) std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t> utf16conv; std::u16string wfileName = utf16conv.from_bytes(fileName); int handle; int err = _wsopen_s(&handle, (wchar_t*)wfileName.c_str(), flags, _SH_DENYNO, mode);