Jump to content

PHP utf8 encoding


theimmortalbg

Recommended Posts

hello i have problem with reading utf-8 text from normal text file with utf8 encoding. I am bulgarian i want to read and write bulgarian text but i cant.

        $fh = fopen("pics/names.txt", 'r');

        $theData = fread($fh, 5);

fclose($fh);

        echo $theData;

 

This is what i use. Iam with windows 7. Pls help me...

Link to comment
https://forums.phpfreaks.com/topic/221560-php-utf8-encoding/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.