We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello,
I don't manage to display special french carachters (à, é, è, ...) on html page. The text is extract from a xml file with p5.js.
Were is the bug ?
Answers
https://forum.Processing.org/two/discussion/17085/visualize-greek-letters-in-a-sketch#Item_1
http://p5ide.HerokuApp.com/editor#?sketch=57fa34e9980f18030076c28f
"index.html":
The result is the same, maybe with code you will beter understand
for (var i = 1; i < couplets[selectCouplet].length; i++) { text(couplets[selectCouplet][i], 10, 100 + i * linespace); }
The lines are in a table, how to change it ?
Sorry, I thought
<meta charset=utf8>
would be enough, as my online example already has shown. :-??Same result, I search on the net and it's javascript problem but I don't know how to solve it
https://github.com/processing/p5.js/issues
Maybe it's b/c your ".xml" file isn't UTF-8? :-/
Maybe try out
<meta charset=Windows-1252>
or<meta charset=ISO-8859-1>
.Some useful links methinks: O:-)
http://www.W3Schools.com/html/html_charset.asp
https://msdn.Microsoft.com/en-us/library/aa468560.aspx
This was reported as P5.js issue 1628