• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

[patch] use UTF-8 encoding

adakraz

New Member
Joined
Aug 16, 2010
Messages
7
Reaction score
0
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
Code:
$config['engine']['charSET']='UTF-8';
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.
 
Last edited:
Back
Top