0

I am starting to work with big files and I know very little about encodings. I have a file and I do not know which code it uses. I replace the string \xa1 (represented by ¢ when it is opened with isolatin in Mac) by ó with a perl command. And I replace the string \xa2 (represented by a little circle with isolatin in Mac) by í with a perl command. The original file is a peruvian file in spanish. How can I know which it is the encoding used to create this file?

  • possible duplicate of [How to detect the character encoding of a text file?](http://stackoverflow.com/questions/4520184/how-to-detect-the-character-encoding-of-a-text-file) – deceze Jun 25 '14 at 11:34
  • 2
    [What Every Programmer Absolutely, Positively Needs To Know About Encodings And Character Sets To Work With Text](http://kunststube.net/encoding/) – deceze Jun 25 '14 at 11:34

0 Answers0