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