Special characters not read from JSONP file correctly in IE8

The same problem as the previous question , I asked, but specifically for IE, since the answer I gave work in everything except IE. So this question is specifically for IE:

How can I set the encoding to be read when reading a javascript file through an element scriptin IE?

I have a JSON file with a character , and when I include the file in my HTML page with <script charset="Cp1252" ...(which works in any other browser) in IE, then I get the following character .

+2
source share
1 answer

Internet Explorer requires a value for charsetit to be Windows-1252.

charset - HTML5 , IANA Character Sets Registry:

Name: windows-1252
MIBenum: 2252
Source: Microsoft  (http://www.iana.org/assignments/charset-reg/windows-1252) 
Alias: None

, Firefox , CP1252, , .

+2

Source: https://habr.com/ru/post/1786562/