Welcome Guest, Not a member yet? Register   Sign In
MySQL latin1 to UTF8 site
#4

(This post was last modified: 12-14-2014, 02:34 AM by Rufnex.)

You should also have a meta tag in the header of your views

Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

In your config you can try this settings

PHP Code:
$db['default']['char_set'] = "iso-8859-1";
$db['default']['dbcollat'] = "latin1_general_ci"// or latin1_swedish_ci 

It this not work i think you have to convert your date manual one of this methods from core php

iconv()
mb_convert_encoding()
utf8_encode() and utf8_decode()

Reply


Messages In This Thread
MySQL latin1 to UTF8 site - by miko91 - 12-13-2014, 05:33 PM
RE: MySQL latin1 to UTF8 site - by includebeer - 12-13-2014, 06:03 PM
RE: MySQL latin1 to UTF8 site - by miko91 - 12-13-2014, 06:53 PM
RE: MySQL latin1 to UTF8 site - by Rufnex - 12-14-2014, 02:34 AM
RE: MySQL latin1 to UTF8 site - by includebeer - 12-14-2014, 04:53 AM
RE: MySQL latin1 to UTF8 site - by miko91 - 12-14-2014, 07:01 AM
RE: MySQL latin1 to UTF8 site - by includebeer - 12-14-2014, 07:47 AM
RE: MySQL latin1 to UTF8 site - by Rufnex - 12-14-2014, 07:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB