1
General / Re: Encoding problem, Xcode
« on: September 27, 2012, 08:27:28 pm »Nothing helps with title encoding, it's not supported yet
Works perfectly on Windows . I've tried it on Windows 7 with VS 2010, and both title and sf::Text worked correctly from scratch.
So how do you convert them?
Just this way:
sf::Utf<8>::toWide(str.begin(), str.end(), str1.begin());
Also, seems to be relevant to the issue:
http://stackoverflow.com/questions/9246043/wcslen-works-differently-in-xcode-and-vc