Skip to content

Japanese #2

Description

@rvanlaar

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?

  • Roland

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions