NYCPHP Meetup

NYPHP.org

[nycphp-talk] utf8 woes - is there a UTF string unencoder ?

Chris Shiflett shiflett at php.net
Tue May 30 19:39:49 EDT 2006


inforequest wrote:
> I have a mixed app in development where some data is utf8
> and some is ... well... not utf8 :-)

It sounds like utf8_decode() might be useful to you:

http://php.net/utf8_decode

It converts a string where some characters are encoded as UTF-8 to 
single-byte ISO-8859-1.

Hope that helps.

Chris

-- 
Chris Shiflett
Principal, OmniTI
http://omniti.com/



More information about the talk mailing list