[jQuery] Re: ajax xml question

2009-09-19 Thread David .Wu
Yup, it will be correct, so weird, why does Google's character wrong. On 9月18日, 下午7時44分, lanxiazhi wrote: > you may request the a.php directly in the browser ,and see if the charactors > display correctly. > 2009/9/18 David .Wu > > > > > > > it's not work actually. > > > On 9月18日, 下午6時19分, lanx

[jQuery] Re: ajax xml question

2009-09-18 Thread lanxiazhi
you may request the a.php directly in the browser ,and see if the charactors display correctly. 2009/9/18 David .Wu > > it's not work actually. > > On 9月18日, 下午6時19分, lanxiazhi wrote: > > Now you will need to change the header: > > header('Content-Type: text/xml; charset=UTF-8'); >

[jQuery] Re: ajax xml question

2009-09-18 Thread David .Wu
it's not work actually. On 9月18日, 下午6時19分, lanxiazhi wrote: > Now you will need to change the header: > header('Content-Type: text/xml; charset=UTF-8');

[jQuery] Re: ajax xml question

2009-09-18 Thread lanxiazhi
Now you will need to change the header: header('Content-Type: text/xml; charset=UTF-8');

[jQuery] Re: ajax xml question

2009-09-17 Thread David .Wu
As the matter of fact, I execute the weather.php like weather.php? weather=1 and the character was right, so the problem is happend when ajax delivery. On 9月18日, 下午2時39分, "David .Wu" wrote: > I am using utf-8 too. > > On 9月18日, 下午2時27分, Steven Yang wrote: > > > I think you might have to check t

[jQuery] Re: ajax xml question

2009-09-17 Thread David .Wu
I am using utf-8 too. On 9月18日, 下午2時27分, Steven Yang wrote: > I think you might have to check the encoding that google is usingI think > google should be using UTF-8. check the encoding on your side. > > On Fri, Sep 18, 2009 at 2:11 PM, David .Wu wrote: > > > But I got one more question > >http

[jQuery] Re: ajax xml question

2009-09-17 Thread Steven Yang
I think you might have to check the encoding that google is usingI think google should be using UTF-8. check the encoding on your side. On Fri, Sep 18, 2009 at 2:11 PM, David .Wu wrote: > > But I got one more question > http://www.google.com/ig/api?hl=zh-tw&weather=Changhua > This is the weather

[jQuery] Re: ajax xml question

2009-09-17 Thread David .Wu
But I got one more question http://www.google.com/ig/api?hl=zh-tw&weather=Changhua This is the weather condition that response by my language, and the value become garbage characters exclude English, any solution? On 9月18日, 下午2時06分, "David .Wu" wrote: > terrific!!! thanks a lot > > On 9月17日, 下午5

[jQuery] Re: ajax xml question

2009-09-17 Thread David .Wu
terrific!!! thanks a lot On 9月17日, 下午5時57分, lanxiazhi wrote: > specify content type to xml: > > header("Content-type: text/xml"); > if ($_GET['weather']) { > ...

[jQuery] Re: ajax xml question

2009-09-17 Thread lanxiazhi
specify content type to xml: header("Content-type: text/xml"); if ($_GET['weather']) { ...