Code for modified music font tables for TextField in MacOS


I’m using an open source music font with modified font tables to include text and numbers with the Music Symbols, The upper case X has been moved to the Euro Sign Glyph Index #96. (The code below) Gets the upper case X to show In TextField in Windows. In MacOS I get the Euro Sign “€” instead of the Upper Case “X”. Question How do I rewrite the code to show Upper Case X in the TextField and not the Euro Sign “€” in MacOS? (Encodings.UTF8 is not working)

Thank You

Dim TextString As String

TextString = "€"

 TextField.Text = DefineEncoding(TextString, Encodings.UTF8)