I am manipulating German text in jQuery.
- Maßnahme
- Text
Now I need to check these texts in my switch case:
switch(compare){ case 'Text': alert('Text');break; case 'Maßnahme': alert('Welcome');break; default:; }
Is there equivalent Unicode to check the German text?
Just a supplement to kgiannakakis’s answer:
If you use utf-8, be sure to save your files as UTF-8 encoded. Check the settings of your (text) editor.