Accent problem when filling a text field!
Hey, what's up everybody!
I'm having a little problem in my system and I would appreciate your help:
I have an input field in my form and when I fill it from an external .js(file) with an encoded accent, it doesn't "change" the encoded accent to it's real accent.
For Example:
(in my html file)
- <input type="text" id="test">
(in my external js file)
- $(document).ready(function(){
- $("#test").val("writing an accent like this: ç ã á");
- });
When i check the html file, it appears exactly like i wrote, and it doesn't convert the "ç" code to "ç", like html does.
Is there a way I can fix it?
Thanks in advance,
Thad.