CF_CharsetConvert will save your marriage

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.


WordPress database error: [Can't open file: 'wp_comments.MYD'. (errno: 145)]
SELECT * FROM wp_comments WHERE comment_post_ID = '104' AND comment_approved = '1' ORDER BY comment_date

No comments have been added to this post yet.

Leave a comment




Your e-mail address is never displayed. If you run into issues with SpamKarma blocking you, email me at $patrick->5etdemi(com)


RSS feed for comments on this post | TrackBack URI