Re: file charset: something like file -i

From: Date: Tue, 19 Jun 2007 15:51:47 +0000
Subject: Re: file charset: something like file -i
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-257418@lists.php.net to get a copy of this message
On 6/14/07, Martin Marques <martin@bugs.unl.edu.ar> wrote:
Is there something like the UNIX command "file -i" to know the charset of a file? I don't want to use a system call, so I was wondering if there was some predefined function in PHP. P.D.: I'm using PHP 5.2.0
http://us.php.net/manual/en/ref.fileinfo.php Examples in the comments. -- Greg Donald http://destiney.com/

« previous php.general (#257418) next »