I’m currently using a text file to build some UI stuff in cinder and I’m having some problems with the string encoding settings in windows ( mac is fine )
Something like this:
If the text file is saved with UTF-8 encoding, Cinder creates and displays the glyphs with no problem. But the c++ std::string part is wrong, the word “ÁUDIO” turns “ÃUDIO”, I cannot use it as a key in a std::map for example.
But if I save the file Western ISO 8859-1 ( Unicode ) the std::string is fine, but I get an Exception like the one bellow if I TextLayout::addCenteredLine()
Any ideas how to solve this?