Reply To: Alt codes in uiLabel

Home Forums General Programming Alt codes in uiLabel Reply To: Alt codes in uiLabel

#117060
Tedjuh
Participant
    • Topics: 9
    • Replies: 97
    • Total: 106
    • ★★

    I’m working on a chordBuilder and was in need of some symbols for chords like O,Ø,¯5,_ (diminished, half diminished, -5,flat)

    See “right one.jpg” for typing a alt-code(0216) or “Ø” directly in the uiLabelText window. See “faulty one.jpg” when I insert the same alt-code through lua in a uiLabel.

    Did some reading and found out it had something to do with “string.char”. In this case, when I type: (“C”string.char(0216)) in lua, it shows CØ correctly.

    So, thnx for the heads up. Found out already. But typed the answer to my problem here anyway in case someone else might have the same problem as I did.

    Attachments:
    You must be logged in to view attached files.
    Ctrlr