SA-MP Forums Archive
PHP - UTF8 Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: PHP - UTF8 Problem (/showthread.php?tid=356366)



PHP - UTF8 Problem - System64 - 03.07.2012

Hello guys
I have one problem with UTF-8 in PHP, in database is "Oљ gujce?" but when I echo it on page it says "oЕЎ ti gujce?"
what should I do?

I put this on top:
PHP код:
mb_internal_encoding('UTF-8');
mb_http_output('UTF-8');
mb_http_input('UTF-8');
mb_language('uni');
mb_regex_encoding('UTF-8');
ob_start('mb_output_handler'); 
but nothing...


Re: PHP - UTF8 Problem - fiki574 - 03.07.2012

Try to remove "Š" and replace it with "S" since you dont have much languages with "Š"!