Display encoding of file - more info
I wanted to know how to determine the encoding of a file which was uploaded by FTP. I found the thread /newbie/47637-how-check-encoding-text.html which points to the right information (by using the command file) but it doesn't help me in my case. Take a look yourself:
As you see, Linux (Debian Lenny in my case) detects the file as PHP script text because of the code within the file (that's my guess at least).
# file testutf8.php
testutf8.php: PHP script text
Is there another way to check how this file was encoded?
thanks in advance for your help!