Author Topic: Unicode-aware  (Read 256 times)

Offline Wodd

  • Active artist
  • *
  • Posts: 28
  • 1,111,111,111,111,111,111 is prime.
  • Operating System: Windows 10
Unicode-aware
« on: October 02, 2017, 19:59:42 »
I read that OpenMPT is now "fully Unicode-aware." What does that mean exactly? Does it apply only to reading of module file names? I noticed that, when naming module components (channels, patterns, samples, instruments, and sequences), the characters display correctly in the text input fields (sometimes)*. But, they don't display correctly in the tree view. For example, when I placed a superscript four character in the sequence name box, it displayed a digit four character in the tree view. Many characters (such as Japanese text or emoticons) display 1 or 2 question marks in the tree view. Switching away from the named component and switching back to it replaces the Unicode character inserted with 1 or 2 question marks. I am using code revision 9021.

* (sometimes): When I loaded a file that was named ↓.wav, both the sample name and the file name are ?, not ↓. The audio works with no problems. But, the name looks odd.
I love Daisy (デイジー)!

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,251
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Re: Unicode-aware
« Reply #1 on: October 03, 2017, 12:59:11 »
I will answer this by quoting the full changelog item instead of just the two words that you picked: "OpenMPT's file handling is now fully unicode-aware".
If it's still not clear, there is even a forum post explaning it: https://forum.openmpt.org/index.php?topic=5827.0
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline Wodd

  • Active artist
  • *
  • Posts: 28
  • 1,111,111,111,111,111,111 is prime.
  • Operating System: Windows 10
Re: Unicode-aware
« Reply #2 on: October 03, 2017, 20:45:44 »
Ah
Thank you, Saga Musix. I did look at that, but must have forgotten what I read.
I love Daisy (デイジー)!