wanglongqi / pdf2djvu

Automatically exported from code.google.com/p/pdf2djvu
0 stars 2 forks source link

Windows: split_path() fails on multi-byte characters containing 0x5c byte #100

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
On Windows, split_path() in system.cc treats paths as byte strings.
But in some East-Asian locales, the 0x5c byte (ASCII backslash) could be part 
of a multi-byte character.
split_path() confuses such bytes for path separators.

Original issue reported on code.google.com by jwilk@jwilk.net on 19 Feb 2015 at 9:32

GoogleCodeExporter commented 9 years ago
Should be fixed in r418c5925c3df.

Original comment by jwilk@jwilk.net on 27 Feb 2015 at 10:29