Updates and Recurring Bugs

by admin on 11-14-2008 • Tags: character encoding, pagemill, phrameworks0 comments

I've finally upgraded this blog to the newest version of the Phrameworks Kernel. In the process, I encountered a bug in something that has given me numerous problems in the past: character encoding.

I noticed during debugging that the Pagemill would occasionally switch between ISO-8859-1 and UTF-8 spontaneously, apparently when it could not determine whether it was parsing XML or plain text. The quick and dirty fix for the time being is to force it to use ISO-8859-1 every time.

I don't know whether to blame this bug on PHP, my own ignorance, or both. Wherever the problem lies, it's one of the most tedious bugs of my career. Character encoding, in my mind, is something that should "just work," and I shouldn't need to massage it in application code.

Tedious or not, it needs to be fixed. And so it goes.

There are no comments posted to this news item.

Add Comment

More Articles