Archive for June 15th, 2006

Safari, AJAX and "broken" encodings

Thursday, June 15th, 2006

Some lessons are learned the hard way.
I was doing another AJAX based system today, and faced a problem where the Ajax.Updater updated text was shown correctly in every single browser except for Safari.
Like I wrote in one of my previous posts, one should check if the output to browser from a script is sent in UTF-8, because this is the encoding AJAX supports. So, in my case with Japanese-language web-sites, I have ordinary pages encodings set to ShiftJIS. So, when I output text which is supposed to be used to replace web-page contents using Prorotype's Ajax.Update call, I convert it from ShiftJIS to UTF-8 before outputting as the result of AJAX call.
(more…)

System testing

Thursday, June 15th, 2006

Some systems need some extensive testing to be done :) Here's how you test when you have too much time on your hands ;)


hello :)

hello2.gif