Posted on Tuesday 31 May 2005
In the words of Rasmus Lerdorf (the inventor of PHP): “Why can’t we all speak 7-bit ASCII languages?” By this he was expressing how much of a pain in the ass it was to introduce decent Unicode handling in PHP, which is apparently coming in 5.1. I know the pain as I worked to correct (hot-fix) these issues for the 1.0 release of AMFPHP (some day my friends, some day). Anyways, I’m on a CF/FlashComm-based cleanup project right now (remember that post about horribly broken movies from hell? That’s the one). I came across this nice little tag that made my day: CF_convertcharset, which allows to switch between ASCII and Unicode very easily. Works like a charm, saved my day. You can read up more on character set conversions and getting rid of those weird little box characters coming from XML in ColdFusion right here.


