You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to open the attached .3MF file using lib3mf and I am getting exception code 5 when calling PReader::ReadFromFile().
Exception 5 is "Cannot convert to UTF16".
Is there something wrong with the file? Is it a bug in the SDK?
Oh ... crap ... never mind.
It's the filename that's causing it. There's a French accented character.
If I rename the file to something simple and with English letters instead, all is well.
I was thinking that I would just close this issue (since I know now to check for non-English characters in the file name), but I will keep it open because perhaps it could be addressed in a future version of the SDK?
apologies for the late reply. We are happy to look into it, but my first thought is that the SDK should fully support Unicode filenames, but they need to passed as UTF8 encoded strings. Are you sure that you did not provide it the french accent string in ANSI or similar encoding?
We definitely will work on the error message that is returned in that case.
Apart from this issue, we would love to learn about your use case in 3MF. Is that something you are able to share?
Hello,
I am attempting to open the attached .3MF file using lib3mf and I am getting exception code 5 when calling PReader::ReadFromFile().
Exception 5 is "Cannot convert to UTF16".
Is there something wrong with the file? Is it a bug in the SDK?
Thanks in advance,
Pete
Pompe péristaltique (KFS-HA1B10R) v6.zip
The text was updated successfully, but these errors were encountered: