@vpr_i wrote:
Hey there,
id like to read strings from a .xml file and draw it after.
Everything works fine with Latin characters but as soon as I try to do the same with Arabic/Chinese characters it doesnt work anymore.It works when i directly pass the UTF8 string as a parameter for the font. (font.draw(“قاتت”)) f.e. but it doesnt work when i read the UTF8 characters in a std::string from the xml file and pass the std::string as a parameter for font.draw.
I believe std::string is capable of holding UTF8 strings (maybe im wrong) but it doesnt work.
Anyone has a solution?
Thanks!!!
Posts: 1
Participants: 1