ShokoAnime / ShokoDesktop

Repository for Shoko Desktop
http://shokoanime.com/shokodesktop/
105 stars 25 forks source link

AniDB AV Dump UTF-16/32 Issue #572

Closed kakure closed 3 years ago

kakure commented 6 years ago

VERSION INFORMATION

Server Version: Latest Nightly Build

Desktop Version: Latest Nightly Build

LOG FILE

No log is necessary for this, see screenshot attached; displays the issue

DESCRIPTION

When I try to dump files to AniDB, that are in a different language (such as Japanese), the ED2k dump results are all question marks (non-unicode compliant results). This makes copy-paste results into AniDB useless. I am able to normally copy / paste other unicode languages, so my Windows OS should not require anything installed to be compliant to see / interact with unicode characters; I can see, copy, paste Japanese from notepad++, browsers, etc. without issue.

I've got the Japanese language pack installed for Windows 10. I've also already got the .NET language pack for 4.7 installed.

Screenshot attached.

Before pressing dump button: before pressing dump option

After pressing dump button: after pressing dump option

STEPS TO REPRODUCE

Use files that contain Japanese language, and try to use the AV Dump option.

da3dsoul commented 6 years ago

PM me the source for one of those files. I'll look at it

kakure commented 6 years ago

Not sure the source is available anymore. Any file with Japanese characters in its name should work as a test.

kakure commented 6 years ago

Performed a manual dump per da3dsoul's suggestion; the output file does contain question marks. Attached sample. sample.txt

ElementalCrisis commented 6 years ago

Not an issue on our side, its a Windows issue.

Setting the region to Japan should fix it.

kakure commented 6 years ago

Tried to set Windows 10 to Japanese region, and verified that I could type into text editors in Japanese. However, when it came to the Command Window Prompt, i got some crazy characters. I tried to re-run the ED2k test, and got the same question mark results as before.

da3dsoul commented 6 years ago

I'm going to reopen this, but because we could do this differently to support it. From what I could tell, you can output to file instead of console, which works, and we can read the file.