displaying umlauts

how can i use umlauts like ö,ä,ü in widget-resources in code?

PhAB converts “ä” to "A " in widget-file but this doesn’t work in
code…and backslash-ascii-code notation also doesn’t work

thanks!

mirtch wrote:

how can i use umlauts like ö,ä,ü in widget-resources in code?

PhAB converts “ä” to "A " in widget-file but this doesn’t work in
code…and backslash-ascii-code notation also doesn’t work

thanks!

Try “PxTranslateToUTF” that should do the trick!

mirtch wrote:

how can i use umlauts like ö,ä,ü in widget-resources in code?

You need to make sure that they’re encoded as UTF-8. This means that if
you want to enter them as characters, you must use a UTF-based editor
(like ped), and they will look funny in a pterm. If you want to use
backslash-hex escapes, you need to use UTF, too – the easy way to find
out the hex codes is by writing yourself a small Photon application that
allows you to enter characters into a text field and displays their
bytes in hex.