Re: Char encoding using fget or curl

From: Date: Mon, 18 Jul 2005 21:56:36 +0000
Subject: Re: Char encoding using fget or curl
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-218925@lists.php.net to get a copy of this message
Marcelo Volmaro wrote:
Hi!, I need to get some information from a webpage, that is served as UTF-8. I need that information because the page contains different language characters. The problem is that no matter if I use fget or the CURL libraries, i got the information in ISO-8859-1. How can i overcome this? Take in consideration that not all UTF-8 can be converted to ISO-8859-1 (chinese, for example)
http://php.net/iconv http://php.net/mbstring I wish I could tell you more. but I'm don't really understand it.
Thanks in advance!


« previous php.general (#218925) next »