Re: [Catalyst] Strange Problem: gb2312 showed incorrect in mod_perl, but correct in developer server

2008-06-05 Thread Moritz Onken
Apache might force the encoding of specific mime types. Check the apache config and look for the content type View::JSON generates. cheers, moritz Am 02.06.2008 um 18:39 schrieb J. Shirley: 2008/6/1 cui robin [EMAIL PROTECTED]: 2008/6/2 J. Shirley [EMAIL PROTECTED]: 2008/6/1 cui robin

Re: [Catalyst] Strange Problem: gb2312 showed incorrect in mod_perl, but correct in developer server

2008-06-02 Thread J. Shirley
2008/6/1 cui robin [EMAIL PROTECTED]: 2008/6/2 J. Shirley [EMAIL PROTECTED]: 2008/6/1 cui robin [EMAIL PROTECTED]: Hi, When a page loaded in firefox, then it will send a ajax request to get data in json format. Some gb2312 words is in the json data. When catalyst is started

[Catalyst] Strange Problem: gb2312 showed incorrect in mod_perl, but correct in developer server

2008-06-01 Thread cui robin
Hi, When a page loaded in firefox, then it will send a ajax request to get data in json format. Some gb2312 words is in the json data. When catalyst is started by /home/robin/CBS/script/cbs_server.pl, the data got by client is same as the data i print on the screen by $c-log-debug(). It's

Re: [Catalyst] Strange Problem: gb2312 showed incorrect in mod_perl, but correct in developer server

2008-06-01 Thread cui robin
2008/6/2 J. Shirley [EMAIL PROTECTED]: 2008/6/1 cui robin [EMAIL PROTECTED]: Hi, When a page loaded in firefox, then it will send a ajax request to get data in json format. Some gb2312 words is in the json data. When catalyst is started by /home/robin/CBS/script/cbs_server.pl,