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.

Find:

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.

Web Projects Consulting
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.