Qual é o diferente entre a Europa Ocidental (Windows) -1252 e a codificação ANSI?

2

Eu estou tentando converter UTF-8 para codificação ANSI através de uma ferramenta, mas ele não mostra o nome de ANSI, mas da Europa Ocidental (Windows) -1252.

Ambos são a mesma coisa? Eu deveria ir em frente com isso?

    
por Abd 08.01.2017 / 15:55

1 resposta

2

Qual é a diferença entre a codificação Windows-1252 e ANSI?

Veja abaixo. Na prática, isso provavelmente não fará muita diferença para sua conversão.

Se você mantiver uma cópia do arquivo original, poderá sempre aplicar uma conversão diferente, se necessário.

Tendo dito que existem maneiras de convertendo UTF-8 para ANSI .

Windows-1252

This character encoding is a superset of ISO 8859-1 in terms of printable characters, but differs from the IANA's ISO-8859-1 by using displayable characters rather than control characters in the 80 to 9F (hex) range. Notable additional characters include curly quotation marks and all the printable characters that are in ISO 8859-15. It is known to Windows by the code page number 1252, and by the IANA-approved name "windows-1252".

...

Historically, the phrase "ANSI Code Page" (ACP) is used in Windows to refer to various code pages considered as native. The intention was that most of these would be ANSI standards such as ISO-8859-1. Even though Windows-1252 was the first and by far most popular code page named so in Microsoft Windows parlance, the code page has never been an ANSI standard. Microsoft explains, "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.

Fonte Windows-1252

Observe que, apesar da declaração anterior da Microsoft, eles ainda chamam o Windows 1252 "ANSI":

enter image description here

Fonte Página de código 1252 Windows Latin 1 (ANSI)

    
por 08.01.2017 / 16:13

Tags