![]() |
Problem with the encoding echoing from the db - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Problem with the encoding echoing from the db (/showthread.php?tid=51534) |
Problem with the encoding echoing from the db - El Forum - 05-08-2012 [eluser]ven_dev[/eluser] I have a database storing the information to utf8-unicode-ci My data is in Cirilyc. Everything in the database is OK. I enter information with a form to the db and everything is fine. However when I try to get some data form the db,when I echo it I get this -> Венцислав РџРѕРїРѕРІ. How can I repair this. In my header I have <meta http-equiv="content-type" content="text/html; charset=uff-8"/> My CI config is: $config['charset'] = 'UTF-8'; $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-'; (adding а-яА-Я,do not resolve the problem) Can you help me ?! ![]() Problem with the encoding echoing from the db - El Forum - 05-08-2012 [eluser]craig.hoog[/eluser] Is this a typo: Code: <meta http-equiv=“content-type” content=“text/html; charset=uff-8”/> Problem with the encoding echoing from the db - El Forum - 05-09-2012 [eluser]ven_dev[/eluser] OMG man... thanks so much,I was never going to see this! How stupid I am... I tried 100 things and was going to take it off. Thanks alot! ![]() Problem with the encoding echoing from the db - El Forum - 05-09-2012 [eluser]craig.hoog[/eluser] [quote author="ven_dev" date="1336563056"]OMG man... thanks so much,I was never going to see this! How stupid I am... I tried 100 things and was going to take it off. Thanks alot! ![]() Hopefully that fixes the issue ![]() Problem with the encoding echoing from the db - El Forum - 05-09-2012 [eluser]ven_dev[/eluser] yep ![]() |