I still haven't figured out a way to *reliably* extract Japanese SJIS zip files on Linux. unzip/7z work on files with extended UTF-8 filenames. unzip always mangles SJIS. LANG=C 7z passes through SJIS and convmv can convert to UTF-8, but that mangles UTF-8 extended zips.
And if you think that's fun, consider that Japanese Windows still has that horrible hack where fonts have ¥ glyph for \. As in they literally display U+005C the same as as U+00A5, making those two characters indistinguishable, and giving a lovely C:¥> prompt.
-
-
Hahaha that's the one! Fun thing is also changing your console to 65001 on windows. Works with some, doesn't with other (e.g. python3 vs python2)
-
No surprise there; python2 always had broken terminal Unicode support. $ python2 -c 'import sys; sys.stdout.write("テスト\n")' テスト $ python2 -c 'import sys; sys.stdout.write(u"テスト\n")' ãã¹ã $ python3 -c 'import sys; sys.stdout.write("テスト\n")' テスト
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.