Special characters in TextBlock

Hi,

I dont get it to work to display special characters like “ö”, “ä”, etc in a TextBlock. Is there any option to do so?

Best regards

Hi Herry, welcome to the BabylonJS forum.

http://www.javascripter.net/faq/accentedcharacters.htm

https://www.babylonjs-playground.com/#EUFLAN#14 (see line 137)

header.text = " Umlauts and diaeresis... " + "\u00E4 \u00EB \u00F6";

I hope this helps. There may be OTHER ways, but this is the method I know-about. :slight_smile:

2 Likes