View Single Post
 
Old July 10th, 2007, 11:00 AM
ginoitalo ginoitalo is offline
Authorized User
 
Join Date: Apr 2004
Location: , , .
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default Read in Chinese Chars from Google

Code:
$str = file_get_contents('http://www.google.com/translate_t?langpair=en%7Czh&hl=en&ie=UTF8&text=hello');
The contents of the string from my BSD/Apache/PHP4.7 box does not contain (or i cannot read) the translated chinese characters.

The content is translated when surfing to the url on my windows box using IE7.

What am I missing here?