On 6/14/07, Martin Marques <martin@xxxxxxxxxxxxxxx> 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/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php