Skip to main content
Added quote by Cathy Wissink, Microsoft.
Source Link

Are [Windows-1252 and ANSI] the same thing?

Are Windows-1252 and ANSI the same thing?

– Yes, for all practical purposesWestern European languages, they are identically the same thing – provided that the language of the text file is "Western European".

If the natural language is not Western European, try consulting the following tableencodings. 1

ANSI encodingLanguage/Alphabet
Windows-1250Slavic languages – Latin alphabet: Bosnian, Croatian, Czech, Polish, Romanian, Slovak, …
Windows-1251Slavic languages – Cyrillic alphabet: Azeri, Bulgarian, Macedonian, Ukrainian, Uzbek, …
Windows-1252Western European languages: Albanian, Basque, Catalan, Dutch, Finnish, Irish, Spanish, …
Windows-1253Greek
Windows-1254Turkish, Latin Azeri, and Latin Uzbek
Windows-1255Hebrew
Windows-1256Arabic, Farsi, Urdu
Windows-1257Baltic languages: Estonian, Latvian, Lithuanian
Windows-1258Vietnamese

For more detailsother natural languages,
  see my table at the end of see this post on how to encode a text file to display characters instead of question marksanswer.

For charts displayingUnfortunately, the Windows-1252 character setWikipedia pages on the topic, this and this,
seeare riddled with confusing statements and unreferenced claims.

You are much better off going directly to one of the sources that Wikipedia this post, Section 4 about ASCII, ANSI, and UTF-8does reference.
It was written in May 2002 and says :

The term “ANSI” as used to signify Windows code pages is a historical reference, but is nowadays a misnomer that continues to persist in the Windows community. The source of this comes from the fact that the Windows code page 1252 was originally based on an ANSI draft, which became ISO Standard 8859-1. However, in adding code points to the range reserved for control codes in the ISO standard, the Windows code page 1252 and subsequent Windows code pages originally based on the ISO 8859-x series deviated from ISO. To this day [May 2002], it is not uncommon to have the development community, both within and outside of Microsoft, confuse the 8859-1 code page with Windows 1252, as well as see “ANSI” or “A” used to signify Windows code page support.

1 SourcesFor :charts displaying the Windows-1252 character set, see this post, Section 4.

Are [Windows-1252 and ANSI] the same thing?

– Yes, for all practical purposes, they are the same thing – provided that the language of the text file is "Western European".

If the natural language is not Western European, try consulting the following table. 1

ANSI encodingLanguage/Alphabet
Windows-1250Slavic languages – Latin alphabet: Bosnian, Croatian, Czech, Polish, Romanian, Slovak, …
Windows-1251Slavic languages – Cyrillic alphabet: Azeri, Bulgarian, Macedonian, Ukrainian, Uzbek, …
Windows-1252Western European languages: Albanian, Basque, Catalan, Dutch, Finnish, Irish, Spanish, …
Windows-1253Greek
Windows-1254Turkish, Latin Azeri, and Latin Uzbek
Windows-1255Hebrew
Windows-1256Arabic, Farsi, Urdu
Windows-1257Baltic languages: Estonian, Latvian, Lithuanian
Windows-1258Vietnamese

For more details,
  see this post on how to encode a text file to display characters instead of question marks.

For charts displaying the Windows-1252 character set,
see this post, Section 4 about ASCII, ANSI, and UTF-8.

1 Sources :

Are Windows-1252 and ANSI the same thing?

– Yes, for Western European languages, they are identically the same encodings. 1

For other natural languages, see my table at the end of this answer.

Unfortunately, the Wikipedia pages on the topic, this and this,
are riddled with confusing statements and unreferenced claims.

You are much better off going directly to one of the sources that Wikipedia does reference.
It was written in May 2002 and says :

The term “ANSI” as used to signify Windows code pages is a historical reference, but is nowadays a misnomer that continues to persist in the Windows community. The source of this comes from the fact that the Windows code page 1252 was originally based on an ANSI draft, which became ISO Standard 8859-1. However, in adding code points to the range reserved for control codes in the ISO standard, the Windows code page 1252 and subsequent Windows code pages originally based on the ISO 8859-x series deviated from ISO. To this day [May 2002], it is not uncommon to have the development community, both within and outside of Microsoft, confuse the 8859-1 code page with Windows 1252, as well as see “ANSI” or “A” used to signify Windows code page support.

1 For charts displaying the Windows-1252 character set, see this post, Section 4.

Source Link

Are [Windows-1252 and ANSI] the same thing?

– Yes, for all practical purposes, they are the same thing – provided that the language of the text file is "Western European".

If the natural language is not Western European, try consulting the following table. 1

ANSI encoding Language/Alphabet
Windows-1250 Slavic languages – Latin alphabet: Bosnian, Croatian, Czech, Polish, Romanian, Slovak, …
Windows-1251 Slavic languages – Cyrillic alphabet: Azeri, Bulgarian, Macedonian, Ukrainian, Uzbek, …
Windows-1252 Western European languages: Albanian, Basque, Catalan, Dutch, Finnish, Irish, Spanish, …
Windows-1253 Greek
Windows-1254 Turkish, Latin Azeri, and Latin Uzbek
Windows-1255 Hebrew
Windows-1256 Arabic, Farsi, Urdu
Windows-1257 Baltic languages: Estonian, Latvian, Lithuanian
Windows-1258 Vietnamese

For more details,
see this post on how to encode a text file to display characters instead of question marks.

For charts displaying the Windows-1252 character set,
see this post, Section 4 about ASCII, ANSI, and UTF-8.

References


1 Sources :