There is a site in Polish samopisny on SMARTY. Has been moved from one hosting to another. Now the site shows in places where there should be a Polish letter - question marks. Already the second day I sit over this problem
I forgot to clarify
The problem of the data that is taken from the database
On the first hosting
character_set_server = latin1 on a new character_set_server = latin2
I tried to add a file before the connections "require_once 'libs / Smarty.class.php';" as written in the documentation
if (function_exists('mb_internal_encoding')) { mb_internal_encoding('UTF-8'); } define('SMARTY_RESOURCE_CHAR_SET', 'UTF-8'); require_once 'libs/Smarty.class.php'; $smarty = new Smarty(); but there was no result from that. Of smarti did not work.
I will be grateful for the help.
mysqli_set_charset($link, "utf8");- Telion