How to unzip a file that has files whose names are encoded with CP932
Apr 8, 2022
Most Japanese people use Windows with Japanese language setting. It’s definitely useful for most Japanese people but I use in English because if I search for something about Windows on the web searching by English term gives me better information in quantity as well as quality rather than by Japanese.
Though, it sometimes takes me to the trouble related to encoding. When I unzip files provided by others, sometimes it ends up with garbled file names because the file names are encoded with CP932 which is the default encoding for the Japanese setting.
In such situations, I use the following command on the WSL.
unzip -O cp932 targetfile.zip