How to detect charset encoding with PHP and command line?

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

 



Hi there,

I'd like to know a way to detect the file encoding from PHP and Linux
command line too.

In PHP I tried mb_detect_encoding() but it doesn't work reliable, first
I have to specify a list of posible encodings and second it always
returns the first encoding I put in the list no matter what.

Thanks for your help,


-William

-- 
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