Re: utf8 php howto?

From: Date: Fri, 19 Dec 2008 08:41:38 +0000
Subject: Re: utf8 php howto?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-284818@lists.php.net to get a copy of this message
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

« previous php.general (#284818) next »