How to output UTF8 character on screen?

I’m using Processing 3.5.4 on Windows 10.
I managed to read a UTF8 file name and write it to a text file. But when I tried to use text() command to show it on screen I only saw some squares.
Also, when I tried to put some Chinese characters in my Processing editor they became squares, too.
Question, how can I display UTF8 characters on screen? Do I have to change some kind of encoding in my environment?
Thanks

Following your advice, I changed the font to Serif and that does the job.
Thanks so much for the quick response.

1 Like