Re: file charset: something like file -i

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

 



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


[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