fhanau / Efficient-Compression-Tool

Fast and effective C++ file optimizer
Apache License 2.0
600 stars 41 forks source link

Unicode filename support on Windows #14

Open AlyoshaVasilieva opened 8 years ago

AlyoshaVasilieva commented 8 years ago

Currently, attempting to optimize a file such as 「」.jpg gives error No compatible files found. Don't know if it works on Linux/OS X.

Comitant commented 1 year ago

I've had a lot of trouble with this as well, it would be nice to have unicode support.

shinji257 commented 1 year ago

Looks like an old issue here. Attempting to affect files with accented characters results in "bad file" and files with other languages in them results in them being ignored entirely.

.\ect\FANBOX 18Quartet (58865546)\3223063_aGGQ5xugZEFM1smtdMbQhUJD - May - Pokémon (Petrification).jpeg: bad file
.\ect\FANBOX 18Quartet (58865546)\3223063_p0_02xPSVhwKvoVzB3bvSh8qSvN - May - Pokémon (Petrification).png: bad file
.\ect\FANBOX 18Quartet (58865546)\3223063_p1_DZuu8MXEYk09FoeSwAAbOb5H - May - Pokémon (Petrification).png: bad file
.\ect\FANBOX 18Quartet (58865546)\3784084_6WWnE4xadBi3o1DgmCSRhWu3 - Petrification - Shinobu Kochō.jpeg: bad file
.\ect\FANBOX 18Quartet (58865546)\3784084_p0_gEHu04N9jPAchPSDyVsq72JI - Petrification - Shinobu Kochō.png: bad file

EDIT: Took a test run on Linux (Manjaro specifically) and it processed UTF-8 fine.

DimX-6600 commented 1 year ago

The issue is still here. Since version 0.9.2 (switch from boost::filesystem to std::filesystem). 0.9.1 works fine.