Char encoding using fget or curl
| From: | Marcelo Volmaro | Date: | Mon, 18 Jul 2005 21:14:12 +0000 |
| Subject: | Char encoding using fget or curl | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-218923@lists.php.net to get a copy of this message | ||
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)
Thanks in advance!
--
Marcelo Volmaro