Menu

Encoding ANSI vs UTF-8

Thomas
2012-04-01
2012-11-13
  • Thomas

    Thomas - 2012-04-01

    I have an english 64bit Win7 with german regional settings.

    When I save now a new text file: Is it saved as Codepage 850 or 1252?

    In other words:
    Is ANSI Encoding=Codepage 850 and
    UTF-8 Encoding=Codepage 1252

    ?

     
  • Dave Brotherstone

    UTF-8 is utf-8! :)

    UTF-8 is an encoding for unicode (so not a codepage in itself, just an encoding). I understand what  N++ calls "ANSI" is the default OS codepage, which I would expect to be 1252.

    For details on UTF-8, see http://www.joelonsoftware.com/articles/Unicode.html, which is an excellent overview of what unicode is and the difference between encodings and codepages.

    Cheers,
    Dave.