note 106956 deleted from function.utf8-encode by tularis

From: Date: Thu, 22 Dec 2011 20:40:41 +0000
Subject: note 106956 deleted from function.utf8-encode by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-185219@lists.php.net to get a copy of this message
Note Submitter: Artislamic.com webmaster. Reason: useless ---- I have just found out a nice and short way to convert an existing document on the server to UTF-8. I share it here maybe someone needs it: $utfconvert = file_get_contents("original.xml"); $saveit = fopen("converted.xml","w"); fwrite($saveit,utf8_encode($utfconvert)); fclose($saveit);

« previous php.notes (#185219) next »