I have set some text in my code to be displayed in a text box, showing which chapter the user has selected.
Like this:
cap01 = "TEORIA / Arte - Capítulo 1";
I don`t know what happens, but sometimes all the words with accents get mixed up with strange characters.
cap01 = "TEORIA / Arte - **Cap’tulo** 1";
This also happens with all the comments in the code.
[color=red]" í “[/color] is substituted by [color=blue]” ’ “[/color].
[color=red]” ó “[/color] is substituted by [color=blue]” - “[/color].
[color=red]” çã " [/color] is substituted by [color=blue]" =‹ "[/color].
Does someone know how to prevent this changes?
I know I could write the comments w/o accents, but I need the text, that will be displayed to users, with the right acentuation and characters.
Another big, big problem.
I will have to use the URL encoding in tons of text.
What should I do to change so many letters to URL encoding?
Microsoft Word has a tool to replace words, but I dont think it will work to change specific letters.
Does anyone have a tip? :thumb: