[eluser]meigwilym[/eluser]
Quote:just another thing i’m getting “marchÃ@” instead of marché
Se ne marche pas? ;-)
You need to set the encoding for the files, any DataBase tables you may have and what's sent to the browser.
I save all files using UTF-8. Netbeans does this for me for every project now, but I used to do it in Notepad++ using the Format menu (encode in UTF-8).
All your DB table should be in utf8_general_ci collation (the tables and fields).
Finally, send a header before you output anything with
Code:
$this->output->set_header('Content-Type: text/html; charset=utf-8');
I set this in MY_Controller so that it's sent for every page. And include this line in your HTML:
Code:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
This should be the first line after the <head> tag.
Bon chance!
Mei