Web Projects Consulting

[Solved] SMF Forum SSI.php UTF-8 Problem

SMF forum is a great software, however, sometimes it needs tweaking when it comes to UTF-8 support.

The below is a very quick fix. Open SSI.php.


global $smcFunc, $ssi_db_user, $scripturl, $ssi_db_passwd, $db_passwd, $cachedir;

Add just two lines below and save:

global $db_character_set;
mysql_query('SET NAMES UTF8', $db_connection);
Tagged on: , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.