Skip to content

Tutorial: Correctly Display Accents

eXpl0it3r edited this page Oct 18, 2012 · 1 revision

Correctly display accents

To solve the problem of accents that are not displayed correctly, there are three steps:

1 - The encoding of pages .cpp must be UTF-8

2 - Put the text with an L in front (ex sf:: String (L"héhé"); )

3 - Using std::wcout or sf::String

Clone this wiki locally