When I do a readfile or file_get_conten ts on a web page the string I
get back get corrupted for non-ASCII characters. For instance when do
a readfile("http://abc/def") "São Paulo" became "São Paulo" on the
calling page although http://abc/def shows "São Paulo" correctly. Any
idea on how to fix this problem.
Let me try to explain it more. I have two pages http://abc/def,
http://abc/ghi.php and I am trying to read the contents of http://abc/def
from http://abc/ghi.php.
get back get corrupted for non-ASCII characters. For instance when do
a readfile("http://abc/def") "São Paulo" became "São Paulo" on the
calling page although http://abc/def shows "São Paulo" correctly. Any
idea on how to fix this problem.
Let me try to explain it more. I have two pages http://abc/def,
http://abc/ghi.php and I am trying to read the contents of http://abc/def
from http://abc/ghi.php.
Comment