Re: utf8 php howto?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Kolbo wrote:

> Hello,
> 
> I have a text file encoded in utf-8.
> i am using fopen/fgets/echo etc..
> 
> how do i display these utf8 characters from the file on the web?
> 

header("Content-Type: text/html; charset=utf-8")
readfile(your-utf8-file);


/Per Jessen, Zürich


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux