The following patch changes the character encoding in the new installations to UTF-8. It doesn't take backward-compatibility into any consideration, though.
View attachment modernutf.patch.txt
EDIT: you also need to add
to config.php (see application/config/config.php "$config['charset']" line)
There are some additional articles on the subject, this stuff isn't as easy as it sounded:
Building UTF8 Compatible CodeIgniter Applications — Elliot Haughin
UTF-8 support for CodeIgniter | News | Phil Sturgeon
however, my attempt seems still good enough.
View attachment modernutf.patch.txt
EDIT: you also need to add
Code:
$config['engine']['charSET']='UTF-8';
There are some additional articles on the subject, this stuff isn't as easy as it sounded:
Building UTF8 Compatible CodeIgniter Applications — Elliot Haughin
UTF-8 support for CodeIgniter | News | Phil Sturgeon
however, my attempt seems still good enough.
Last edited: