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" <chan1...@gmail.com> wrote: > I am using utf-8 too. > > On 9月18日, 下午2時27分, Steven Yang <kenshin...@gmail.com> 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 <chan1...@gmail.com> wrote: > > > > 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" <chan1...@gmail.com> wrote: > > > > terrific!!! thanks a lot > > > > > On 9月17日, 下午5時57分, lanxiazhi <lanxia...@gmail.com> wrote: > > > > > > specify content type to xml: > > > > > > header("Content-type: text/xml"); > > > > > if ($_GET['weather']) { > > > > > .......