Friday, July 10, 2009

DUH moment of the day or Getting Coldfusion to parse § correctly

We were confused at work today as to why CF kept translating the section symbol § as � (your browser is behaving correcrly, that's "Replacement Character") every time the section symbol was included in a form. As it turns out, if your form lives on a page with Western encoding (iso-8859-1) instead of Unicode-8 (UTF-8), some characters will not be parsed correctly, even though the section symbol isn't even technically in the range associated with Unicode.