ShadowMetis Posted July 20, 2007 Share Posted July 20, 2007 I have a script which draws text from another website through cURL functions. All of the non-ascii characters are look something like this though. €¢. I have the charset on utf-8 in my html header though so I don't see why they're being displayed in this manner. Can anyone shed some light on this for me? Link to comment https://forums.phpfreaks.com/topic/61002-non-ascii-characters-pulled-from-curl-not-displaying-properly/ Share on other sites More sharing options...
cooldude832 Posted July 20, 2007 Share Posted July 20, 2007 Because cURL passes data as ASCII input not UTF-8 so its really passed as char($asciinum); not literal text thus the issue passing it. There is a way to change this i think, otherwise look into the fopen(); on it Link to comment https://forums.phpfreaks.com/topic/61002-non-ascii-characters-pulled-from-curl-not-displaying-properly/#findComment-303530 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.