NYCPHP Meetup

NYPHP.org

[nycphp-talk] Any alternatives to mbstring for PHP+UTF-8?

Jon Baer jonbaer at jonbaer.com
Thu May 3 13:36:40 EDT 2007


Yes ... ive used the mysql function listed on that page (which is  
normally where 1/2 problems exist anyways).

Just make sure it is installed (depending on your PHP version) ...

[PowerbookG4:~]$ php -m | grep iconv
iconv

Otherwise you might have to compile/install http://www.gnu.org/ 
software/libiconv/ and ./configure --enable-iconv before building php.

- Jon

On May 3, 2007, at 12:51 PM, Jakob Buchgraber wrote:

> Jon Baer wrote:
>> Iconv is way more flexible ...
>>
>> http://us.php.net/iconv
>>
>> Specifically the alternate ob handler ... http://us.php.net/manual/ 
>> en/function.ob-iconv-handler.php
>>
>> - Jon
> Hey!
>
> Thanks a lot.
>
> Seems to be quite cool. Have you ever used it? How does it perform?
> And when I convert a UTF-8 string to some single-byte encoding, I  
> can use the PHP provided functions for manipulating and validating  
> the data, right?
>
> Cheers,
> Jay
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php




More information about the talk mailing list