The first argument to ImageFile::ImageFile has type e57::ustring. e57::ustring is described as “UTF-8 encodeded Unicode string”. However, on Windows no attempt is made to call the correct Unicode API with correctly converted wide string. Instead a blind call to _sopen_s is made, passing e57::ustring as is. It leads to corrupted file names if they have local symbols.
I used this change to src/refimpl/E57FoundationImpl.cpp
Last edit: Alon Barzilai 2021-06-02
Let me work on that tomorrow because I don’t know if I have admin for sourceforge. Stan
Sent from my iPhone
Related
Bug Reports: #52
OK, I made you a developer for this project. You can make the update.
Stan Coleby
On Tue, Jun 1, 2021 at 10:32 PM Alon Barzilai alonb@users.sourceforge.net
wrote:
Related
Bug Reports: #52
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 changes. A new release hasn't been done in a long time.Stan
Coleby
On Fri, Jun 4, 2021 at 10:57 AM Stan Coleby stancoleby@users.sourceforge.net wrote:
Related
Bug Reports: #52
Hi,
thanks for the change.
I made my commit.
Alon.
Related
Bug Reports: #52