We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi,
I'm developing a web with p5 which is awesome.
A little question about Spanish accents. The web shows text boxes with text taken from json file, and it shows perfectly all accents in three different languages. But when I create the button for the menu like this one:
buttonCat = createButton('català');
the accent in the web appears as [catalÃ]
How can I add all accents? Or what is the mistake?
Thanks
David
Answers
In order to assure accented letters show up correctly in a web page, we need to specify a
<meta>
tag w/ a charset attribute = utf8 or utf16 at the very beginning of its ".html" file:<meta charset=utf8>
thanks