I have a string variable with a value of Löschen.
When I display the string, it is displayed as: Löschen.
How can I make the string to be displayed correctly?
I have a string variable with a value of Löschen.
When I display the string, it is displayed as: Löschen.
How can I make the string to be displayed correctly?
in which manner did you implement the javascript. Is it displayed on your website?
If you are displaying special characters like 'ö', 'ü', 'ä' make sure your encoding is set to 'UTF-8'. You can do that by writing <meta charset="UTF-8"> between your head tags. For more about UTF-8 encoding look here
Also make sure you save your files in UTF-8 encoding, Tutorial