MyBB Community Forums

Full Version: Set letter?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
haw can i set a letter to show up like letter "š", i translated some stuff in language forum and i used letters "š, đ, č, ć, ž" and on the forum i can only see �
can any1 help?
thanks in advance!
You need to set the set the encoding of those files to UTF-8 without BOM. For that, you can use a text editor like Notepad++ (then go to the Encoding menu and set it to UTF-8 without BOM).

And make sure that the main file in your language folder (e.g. english.php, if you're in the /inc/languages/english/ folder) has this line near the end:

// Sets the character set, blank uses the default.
$langinfo['charset'] = "UTF-8";

Also, convert all your database tables to UTF-8. You can do so by going to Admin CP > Tools & Maintenance > System Health > UTF-8 Conversion.