'Exiv2: How to read photo with UTF8 filepath?
I am using GTKmm and exiv2 to read EXIF metadata form photos. However Exiv2 functions accept only std::string file paths... When I try it on not ASCII filepath it crushes the program.
Is there any way to read that data? It would be great if Exiv2 accepted Glib::ustrings...
I'm interested in solutions for Windows and Linux.
Solution 1:[1]
If this is in Windows then you can use GetShortPathName.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | halfer |
