Support unicode character
Posted: 2017-11-30T13:18:18-07:00
I try to read "C:/ццц.cr2" image:
where path is Unicode std::string but it failed with error:
In Windows usually using wstring and _wfopen() instead fopen(), but Magick++ using only fopen() and string. So how to open image with Russian, Japanese and other characters in the path?
I've read
viewtopic.php?t=10342
viewtopic.php?t=20795
viewtopic.php?t=8106
but it did not help me
Code: Select all
Magick::Image image;
image.read(path);
I use English locale Windows, Qt 5.7.1 compiled MinGW-w64-i686. Magick++ aslo compiled by MinGW-w64-i686.C:/Р№Р№Р№.CR2: No such file or directory
In Windows usually using wstring and _wfopen() instead fopen(), but Magick++ using only fopen() and string. So how to open image with Russian, Japanese and other characters in the path?
I've read
viewtopic.php?t=10342
viewtopic.php?t=20795
viewtopic.php?t=8106
but it did not help me