Welcome Guest, Not a member yet? Register   Sign In
French language and CI.
#2

[eluser]moonbeetle[/eluser]
The way I solved similar tedious issues was updating to a recent CI version and setting everything to UTF-8

1). CI's config file
$config['charset'] = "UTF-8";

2). CI's database config file:
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";

3). MySQL
- the database collation
- the database table collation
- the database table (VARCHAR) field collation
- setting my editor to save code in UTF-8 format

4). Adding the meta tag to the View pages
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />


Advise:
try first if adding the <meta> tag to your view files solves the problem (make sure you set the charset only once and have it set to utf-8).

If that fails, consider a test with all of the above.


Messages In This Thread
French language and CI. - by El Forum - 06-19-2009, 12:15 PM
French language and CI. - by El Forum - 06-19-2009, 12:36 PM
French language and CI. - by El Forum - 06-19-2009, 12:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB