Re: how to enable utf-8 in php?
| From: | Michal Migurski | Date: | Wed, 14 Jul 2004 14:59:35 +0000 |
| Subject: | Re: how to enable utf-8 in php? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190484@lists.php.net to get a copy of this message | ||
> PHP seems to handle all strings as ISO-8859-1 by default. How can I tell
> PHP to work with strings in UTF-8 format? This is important for sorting
> and e.g. htmlentities().
Needs to be compiled in:
http://php.net/manual/en/ref.mbstring.php
Also available:
http://php.net/manual/en/function.utf8-encode.php
http://php.net/manual/en/function.utf8-decode.php
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html