Hello,
The scaffolding doesn’t work at all or it shows strange characters too ?
For internationalization, to avoid problems everything should be in UTF-8, from the database to the user browser.
To do so, you should :
- add the following line in your views to tell the user browser to user UTF-8 :
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
- edit your .php and .html files and save them as UTF-8 with your editor (I personnaly use Eclipse, your can change the settings for the whole project)
- create your database with the UTF-8 setting (with MySQL choose “utf8_general_ci”).
- when you access your database, force the use UTF-8 with the following command before any database query in your models
$this->db->query("SET NAMES 'utf8'");
(i’ve been forced to do this with MySQL, maybe with other databases it’s not necessary).
Hope this helps,
Tchule.
PS : We should put a link to the wiki on the front page of this site.