If you have the iconv library installed, you could use that. It's fairly easy to use, and very comprehensive.