|
|
Question : How to send ISO-8859-1 characters?
|
|
I have a text box in a website. Inside this text box I am able to type different words and with a DOM object/Ajax I can retrieve a list of matches to the wrod every time I press a new key. Every time I type a non-english character this search doesn't work.
Example: I type "a" then I get a list of words starting with "a". When I type the danish character "ø" I should get a list of word starting with "ø", but I get nothing. This is because the server is not receiving this letter as "ø", but as something else.
How can I solve this?
I have tried using the "escape()" function, but it doesn't help.
Any ideas?
|
Answer : How to send ISO-8859-1 characters?
|
|
so there you have your answer. You need to either convert the page to utf-8 as suggested earlier or convert the text to iso-8859-1
|
|
|
|