determine encoding type of a file (ie - UTF-8)
I've tried several methods, including "file -i file.html" and "stat file.html", but it doesn't tell me the encoding type of the file.
I have <?xml version="1.0" encoding="UTF-8"?> in the head of my xhtml file, but how do I know it is really UTF-8?
|