I have a function that inserts some text into a textarea. The text is a placeholder for some data merging, and looks like %%FieldName%%. I have run into an issue where when i insert the text %%FaxNumber%%, it inserts it as '%úx Number%%'.
I've done a few tests which rules out the function, but seems the issue is with the parameter to the function. If i pass '%Fa' it converts it to ú. Is there anyway i can stop this from happening??
To test this, in a blank html document add the line:
You will be prompted with 'ú'. There is no doctype, im using quirks mode (to take advantage of 100% height).