@Awareness wrote:
How can I display Turkish characters on an ofxLabel under Android, is it supported?I worked on it but couldn’t be successfull, while displaying a text on ofxLabel it omits Turkish characters.
gui.add(label1.setup("abcçdegğhıijkl","234",375,250));
This code doesn’t works as expected, it omits characters ğ and ı.
Using:string str; ofUTF8Insert(str,0,'a'); ofUTF8Insert(str,0,'ı');
If I use like this compiler gives an error:
Error:(44, 21) error: character too large for enclosing character literal type(for 'ı' character)
If I use:
ofUTF8Insert(str,0,L’a’);
ofUTF8Insert(str,1,L'ı');
or
ofUTF8Insert(str,1,U'ı');
and
label1.setName(str);
It compiles but on my Android phone it omits Turkish character ‘ı’.
I am using Openframeworks 0.10.0 for Android using Android Studio under Windows.
Posts: 1
Participants: 1