Closed kouta-kun closed 8 months ago
Are you building with NANOEM_ENABLE_BUILD_ICU4C
? If not, this is most likely the cause of the problem.
Although nanoem itself uses UTF-8 internally, the character encoding used in the model is effectively ShiftJIS or UTF-16, so ICU is needed for the conversion process.
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Hi, sorry! I didn't manage to build it with ICU4C enabled and I just resigned myself to using wine. I'll be opening an issue some time later to find out what's wrong with ICU4C.
Describe the bug Models with japanese language text don't load correctly on Linux (texture paths load incorrectly, titles stop after first character, etc). The same models load correctly on Wine.
To Reproduce Steps to reproduce the behavior:
Expected behavior Titles load correctly on linux.
Screenshots
Desktop (please complete the following information):
Additional context Checking with GDB, the model title string seems to start being incorrect at nanoemModelGetStringPMX, where after conversion string "H a r" becomes corrupt: