Hey hello,
Over at scummvm we're working on adding support for Mac Japanese games. A first step is to be able to read them.
Thanks to machfs we're able to read the disks with ease. Our challange starts with the filename encoding.
Those Japanese files are in shift_jis. I've added an example of the filename machfs puts out. Encoding and decoding it back leads to the correct result.
"≤›¿∞»Øƒ ¥∏ΩÃfl€∞◊ 3.0 ôŸ¿fi".encode("mac_roman").decode("shift_jis")
'インターネット エクスプローラ 3.0 フォルダ'
What do you think is the best way to achieve this directly with machfs?
Hey hello,
Over at scummvm we're working on adding support for Mac Japanese games. A first step is to be able to read them.
Thanks to machfs we're able to read the disks with ease. Our challange starts with the filename encoding.
Those Japanese files are in
shift_jis. I've added an example of the filename machfs puts out. Encoding and decoding it back leads to the correct result.What do you think is the best way to achieve this directly with machfs?