How to set up Unicode

Comparing #25 with #26

Revision #26 was created by François Gannaz François Gannaz on Feb 20, 2013, 8:13:20 AM.

remove spam link

Content

[...]
~~~

>Note: Unfortunately it's not recommended to set this an an `.htaccess` file as this may lead to undefined behavior.

When mbstring function overloading is turned on the built-in PHP function `strlen()` counts Unicode characters, not bytes, and the change can break existing code. Use `mb_string($str, 'ISO-8859-1')` to find the byte length of `$str`.

 
### Links
 
[Chinese version](http://projects.ourplanet.tk/node/84)