Search Unity

German Umlaute in GUI

Discussion in 'Immediate Mode GUI (IMGUI)' started by arndt, Nov 27, 2007.

  1. arndt

    arndt

    Joined:
    Nov 27, 2007
    Posts:
    4
    Hello,

    I am just working on a multi language GUI and also need to implement some german text.
    Could someone point me to the right direction of how to use some of the special German characters with the GUILabel or any other text based GUI element?
    Thanks :)
     
  2. NicholasFrancis

    NicholasFrancis

    Joined:
    Apr 8, 2005
    Posts:
    1,587
    Just enter them in your source code like any other letter and save your files as UTF8 (which is the default in unitron)
     
  3. arndt

    arndt

    Joined:
    Nov 27, 2007
    Posts:
    4
    Hi Nicholas,

    thanks! You pointed me to right direction (I was already thinking abuot converting ASCII code to strings :)

    I had to use Text > Text-Encoding in Unitron to change the format of the JavaScript containing the strings.
    It works fine now *happy*
     
  4. NicholasFrancis

    NicholasFrancis

    Joined:
    Apr 8, 2005
    Posts:
    1,587
    Great... Glad to help.