My page in Portuguese does not show the accented characters correctly (acute accent, grave accent, circumflex accent, til, c with cedilla) although I only use common fonts.
They all were replaced by a “question mark” thing.
How can I solve this problem ??? https://jogos-utilitarios-portugues.000webhostapp.com/
That’s it. I liked XHTML, but it is dead now. If you view-source in Firefox, and see the OP’s doctype highlighted in red, it even tells you exactly what the doctype should be.
You’re using an old XHTML doctype. Switch it to the new standard-based HTML5, and it should be fine:
<DOCTYPE html>
If you use Firefox, try viewing the source - you will see that your doctype is presently rendered in red (a warning that is wrong). The hover-text will show you the correct version (i.e. the HTML5 version).
I changed the template completely and still the accented characters do not work. My doctype is no longer rendered in red in firefox browser … I dont know what is going on. It would be nice if someone helps me to fix this! The same html page works fine offline as you can see in the follwing print screens… Thanks!
Thank you for your suggestion but I already had done that because someone suggested it to me. It does not work for some reason… its driving me crazy!
You can check it out in the same link above if you want to view the page source code.
Im thinking, as a last resource, on replacing all the accented characters in all the pages by its html code like “é” (e acute) by “é”…
Hey can you try this code at top of each page <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">