Perfidus Posted December 17, 2009 Share Posted December 17, 2009 Hi there, I'm writing an rss file to my server with this function: fwrite($handle, utf8_encode($somecontent)) $somecontent includes some text manually introduced and some pieces that come from a database: $somecontent = "Text with spanish tilde á".$databaserow['moretext']; Why the manually introduced text doesn't look utf8 encoded? What I'm doing wrong? Thanks for your help! Link to comment https://forums.phpfreaks.com/topic/185516-fwrite-utf8-xml/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.