Re: Char encoding using fget or curl

From: Date: Tue, 19 Jul 2005 01:05:02 +0000
Subject: Re: Char encoding using fget or curl
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-218929@lists.php.net to get a copy of this message
I have never done this but - have you tried using curl_setopt to have is sent as a binary file and try to go from there? Marcelo Volmaro wrote:
But my problem is that the information i get from the fget or curl is ALREADY converted!!! And by what i see, the function overloading don´t work on fget. On Mon, 18 Jul 2005 18:56:36 -0300, Jochem Maas <jochem@iamjochem.com> wrote:
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!
-- Respectfully, Ligaya Turmelle "Life is a game.... so have fun"

« previous php.general (#218929) next »