Hello everyone! I am making an app in Android mode. And I have a problem with displaying non-English characters.
I create a String variable, initialize it with non-English characters (Cyrillic).For example
String myString = “Слава психонавтам”;
And these characters are not displayed correctly (looks like Arabic ) on an Android device.
If I use Java mode, the characters are displayed correctly.
I tried to implement Cyrillic font from .ttf file.
textFont(createFont(“Roboto-Medium.ttf”, 20, true));
But it doesn’t help.
I suspect that the problem is in the different encoding between ProcessingIDE in Windows and Android. But I don’t understand how to fix it.