Tag Archives: International Language

Determing the encoding of a file

By MIA651

Hi, I am trying to determine the encoding for the file, because to convert to UTF-8, it seems as though I have to know the encoding of the source.

Tried this

Code:

file


give me this:
:data or International Language text

Tried to see the locale and this is the output:
LANG=C
LC_COLLATE=”C”
LC_CTYPE=”C”
LC_MONETARY=”C”
LC_NUMERIC=”C”
LC_TIME=”C”
LC_MESSAGES=”C”
LC_ALL=

Not really much help there either. Any help will be appreciated!

Source: FULL ARTICLE at The UNIX and Linux Forums