How do I convert ISO 8859 strings to UTF8?

I have some ISO 8859 strings that I want to feed to a web api, but the web api requires UTF8. I am working in php. Is there a library that will convert an ISO 8859 string to UTF8?

Larry

Try this function: iconv()
[php]echo iconv(“ISO-8859-1”, “UTF-8”, $text);[/php]

Thanks! I also found a function UTF8_encode()

Larry

Sponsor our Newsletter | Privacy Policy | Terms of Service