Reply To: Preview 3.1.1: Unicode support

#21671
Zynewave
Keymaster

@druid wrote:

32-bit seems to work with unicode, I tried loading and saving unicode filenames, and renaming items within Podium with Japanese.

Are there any areas that are still dependant on ASCII or similar, or has everything been uypgraded to unicode? Do notes, device names etc. all support unicode now?

All text handling within Podium is now Unicode. Windows stores Unicode strings as double-byte (16-bit) characters. Whenever Podium needs to save/load strings in files and VST/ReWire plugins, the strings are converted to the single-byte (8-bit) UTF-8 format. A UTF-8 string that does not contain Unicode specific characters is identical to the ASCII version of the string. The UTF-8 conversion is necessary since the VST and ReWire communication interfaces only support strings with single-byte characters.

Using UTF-8 should ensure compatibility with plugins that do not support Unicode. If a plugin supports UTF-8 conversion, then it should be possible to name e.g. VST presets in Podium with Unicode characters, and have them appear correctly in the plugin UI.