First of all, I am new to go and new to QML so please do not make fun of me.
I recently began testing QML in go to determine if it was a suitable solution for me. I have a few observations about Unicode support that I may be misunderstanding.
I am using the Gardiner.ttf which supports Unicode in the Hieroglyphic range. So on my computer "ð“„¿" is a large bird heiroglyph. If you do not see a large bird then you do not have Gardiner.ttf on your system.
When editing go programs using sublime, the hieroglyph first showed up as a rectangle with the unicode value inside but now that I have the correct font, it now a bird in my programming code as well. I can use hieroglyphs in my documentation, in my unit tests and in my program output.
In my QML file I defined an ApplicationWindow with title:Â "ð“„¿ Senet ð“„¿" and QML gave me an application window with a title that contained Hieroglyphic Unicode.
Later i created a MessageDialog with title: "𓄿 Senet - About 𓄿" and of course the title displayed perfectly. However, when I used the text: parameter, the unicode in the text did not display.
I then did a further test using a TextArea with a FontLoader {id: gFont name: "Gardiner" } set the font.Family: gFont.name and textFormat: text.RichText and tried printing some hieroglyphics. At this point I could see that it was using the correct font but for all of the Unicode characters, there were only rectangular boxes.
My conclusion is that anything that is a system window will enjoy Unicode support for the title but that Unicode is not supported for the text.
Is this an issue only on Qt5.2 or is this a go-qml issue? Is their any likely hood of future Unicode support for QML? Is there something simple that I have goofed up?
I am concerned about developing for an international market using a platform that does not support Unicode.. If you have had success using Unicode with QML please share!