![]() |
![]() |
![]() |
PHP and unicode: iconv It seems to me that iconv is able to handle UNICODE, so as long as the library is well interfaced with PHP, PHP can handle unicode through the iconv librabry.
Patrick Roumanoff
Couple iconv or mb_output_handler with output buffering's output handler (pass a parameter to ob_start), and you should be able to generate valid output in any encoding.
Sérgio Carvalho (http://sergiocarvalho.com/)
Well, yeah, you could do that. But how readable will your code be? The main benefit of PHP is how quick and easy it is to put code together. Sprinkling iconv calls around just about every string you work with is an exercise in self-torture.
Daryl Oidy
|