assimp / assimp

The official Open-Asset-Importer-Library Repository. Loads 40+ 3D-file-formats into one unified and clean data structure.
https://www.assimp.org
Other
10.88k stars 2.91k forks source link

Import Fail #2946

Open EinsteinV opened 4 years ago

EinsteinV commented 4 years ago

Assimp::Importer::ReadFile fails on pFile with special characters like ö, é, or î etc. For example: D:/Földer/Tést/Fîle.stl

It does not fail when exporting to such a folder (this appears to be fixed, because in version 4.1.0 it could not do importing and exporting of such paths).

My guess it has something to do with UTF vs Latin1 vs UNIcode

kimkulling commented 4 years ago

This one is caused by the fact that our filesystem expects ASCII-names at the monebt. Maybe a duplicate one.

kimkulling commented 4 years ago

Sorry for closing this, I was much too fast.

EinsteinV commented 4 years ago

Ye I get that, but there are/exist paths or filenames that are something else then ASCII. The thing is, it was fixed for exporting, but not for importing... I awesme lib like this should be able to handle all. The fix shouldn't be to hard?

agerrius commented 4 years ago

I have also encountered this issue since upgrading to version 5.0, before when I was using the older version (I think 4, might even have been 3) it was working fine with such characters in the path.