How To Put Å, Ä And Ö In A Javascript Array And Then Compare It With Html Text?
I want to put Å, Ä and Ö. And then compare them using html text. For example text has these characters, and i want to compare my text using javascript array. I am trying to make
Solution 1:
Instead of storing string literals in the array, store their unicode representations:
var myArray = ['\u197', '\u196', '\u214'];
I used this website to convert your ASCII symbols to unicode.
Post a Comment for "How To Put Å, Ä And Ö In A Javascript Array And Then Compare It With Html Text?"