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

Add UTF-8 support to VMD #161

Open
wants to merge 3 commits into
base: blender-v4
Choose a base branch
from

Conversation

Sakura-Luna
Copy link

MMDtools directly discards unsupported characters when exporting VMDs, but it's feasible to keep it and it doesn't affect MMD loading in tests. Due to the size of UTF-8, longer names can be saved using GBK.

@fmnijk
Copy link

fmnijk commented Jun 25, 2024

Maybe there should be some warnings like these.

logging.warning("Bone '%s' cannot be decoded using Shift JIS. Using UTF-8 instead.", name)
logging.warning("Bone '%s' cannot be encoded using Shift JIS. Using UTF-8 instead.", string)

@Sakura-Luna Sakura-Luna marked this pull request as ready for review June 25, 2024 12:42
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

Successfully merging this pull request may close these issues.

2 participants