Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Characters stored as "Name" #1

Open
larsenv opened this issue Dec 19, 2017 · 1 comment
Open

Characters stored as "Name" #1

larsenv opened this issue Dec 19, 2017 · 1 comment

Comments

@larsenv
Copy link

larsenv commented Dec 19, 2017

On L27, I see you are confused why characters are stored as "N a m e" instead of "Name". The reason why it's stored like that is because the Wii commonly uses UTF-16BE as the character encoding.

Removing the spaces will get the job done for standard characters, but for other symbols the Wii uses it'll not show up properly, so the script should decode the UTF-16BE characters with .decode("utf-16be") on the string.

@tewalds
Copy link
Owner

tewalds commented Dec 19, 2017

I no longer have any data to test this on, but I'm happy to merge a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants