This post originated from an RSS feed registered with Agile Buzz
by James Robertson.
Original Post: More encoding fun
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
This is why I call it the dev stream. I added a check for the content-type into my http library the other day - the idea being that if the content type was application/*, then it should default to utf-8. They key there is default - it should assume utf-8 only if nothing else was specified. However, that's not how I wrote the code... I was checking the content-type first, instead of at the end if the encoding had not been found. That was a dumb error, and made for a lot of bad text coming through. Fortunately, that only impacted the dev stream, and I've just fixed it - if you follow the dev stream, just grab the latest Http-Access and BottomFeeder components via the upgrade tool.