We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am new to prossesing and I have made a simple sketch that reads a .txt file and prints it's content into the console. Unfortunately because the file is in Greek i get messages like "??????" or"▜▜▜▜▜" I have also read this topic http://forum.processing.org/one/topic/read-a-text-file-with-arab-characters.html which seems similar but I didn't have any result. here is my code:
String filename = "myfile.txt";
String[] lines = loadStrings(filename);
println(join(lines, '\n'));
Any help would be much appreciated!
Answers
Ensure the file is saved in UTF-8 (no BOM), which is the only encoding Processing is willing to read.
is it modern greek or classical greek or koiné?