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

