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];
hi,
ive been going thro the site aand also tried out the code, but im getting fatal error:
call to undefined function utf8_encode(). pls help
roslyn
Dave Smith wrote:$filename=note.txt;
//$fp = fopen ($filename,r);
$str=utf8_encode(file($filename));
foreach( $str as $line )
echo $line;
?
I