We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello I have a problem with the text() in p5js. I need it to show my diacritics characters: example:" ș ă ț â ..."; But instead I get a square I have added and tried others, WTF-8, UTF-16... but nothing works. My data it's in a JSON file and i'm using the preload function with "var data = loadJSON('data.json')" But even if I hardcode the text with a diacric character I have the same result. I can't find relevant information on the web, or something that just works.
Thank you
Answers
https://forum.Processing.org/two/discussion/17085/visualize-greek-letters-in-a-sketch
https://forum.Processing.org/two/discussion/17813/how-to-pull-and-show-text-from-a-json-file#Item_6
Thank you for the prompt answer. I found the error...My code was OK but the problem is the FONT I need to use for this project...