file charset: something like file -i
| From: | Martin Marques | Date: | Thu, 14 Jun 2007 11:58:14 +0000 |
| Subject: | file charset: something like file -i | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-256980@lists.php.net to get a copy of this message | ||
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
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
---------------------------------------------------------
Lic. Martín Marqués | SELECT 'mmarques' ||
Centro de Telemática | '@' || 'unl.edu.ar';
Universidad Nacional | DBA, Programador,
del Litoral | Administrador
---------------------------------------------------------