Sabtu, 09 Agustus 2014

how to detect your file encoding on ubuntu?

install uchardet

and use it with command uchardet <<yourfile>>
and the result will show up

alternatively you can change your file encoding with

iconv -f [source encoding] -t [destination encoding] [input file] > [outputfile]