ollm / OpenComic

Comic and Manga reader, written with Node.js and using Electron
GNU General Public License v3.0
801 stars 75 forks source link

[Bug]: If the name of the folder or file in the package contains Chinese, it cannot be displayed #243

Open bojiwama opened 1 week ago

bojiwama commented 1 week ago

I use OpenComic.Portable.1.2.0.exe

The test character used is "测试"

The zip name can be displayed if it contains Chinese 1 1

File names that contain Chinese cannot be displayed 2 2

If the folder name contains Chinese, it cannot be displayed at all 3 3

Expected Behavior I hope to fix the issue that Chinese characters are not supported

Actual Behavior There are errors with Chinese characters, and other non-English characters may have the same problem

ollm commented 1 week ago

It seems to be the same error as https://github.com/ollm/OpenComic/issues/193#issuecomment-2117840534

You can try the this portable version with the following fix 27c863b6a9abd434e8855216100e5f8087ed1e73

Portable Build: https://mega.nz/file/zbQR0YIZ#WkFLsg3_fSZ5Xt5V-h8L-xb0wdqMXCLsqWZr-UxG-Wo

bojiwama commented 1 week ago

Thank you! It can be displayed correctly.