unicode in php{PLS HELP URGENT}

From: Date: Mon, 23 Sep 2002 12:32:17 +0000
Subject: unicode in php{PLS HELP URGENT}
Groups: php.db 
Request: Send a blank email to php-db+get-21932@lists.php.net to get a copy of this message
hello, ive saved a text file-note.txt with unicode encoding, and would like to print the file, how could i do so?? ive written the following piece of code, pls tell me where ive gone wrong. <?php $filename="note.txt"; $fp = fopen ($filename,"r"); $str=utf8_encode(file($filename)); echo $str[0]; ?> --------------------------------- Do you Yahoo!? New DSL Internet Access from SBC & Yahoo!

« previous php.db (#21932) next »