結果 : determine encoding of text file