Firefox does not display CP437

I am developing a web-based application that connects to the old Cobol mainframe, which uses CP437. We have only one communication system, so if possible, I would prefer not to do any encoding conversions and just use CP437 everywhere.

I changed the headers sent with HTML to show CP437 (both in the Apache header and in the meta tag):

Content-Type: text/html; charset=CP437
...
<meta http-equiv="Content-Type" content="text/html; charset=CP437">

It works well in Internet Explorer, with the correct E signs (GBP if this symbol does not flow!).

However, in Firefox, I just get question marks instead. In the Web Developer menu, the encoding is displayed as ISO-8859-1, so Firefox simply does not recognize the character set.

Does anyone know how to make them work together? Is there somewhere a list of character sets that Firefox knows about?

+5
source share
3 answers

http://mxr.mozilla.org/mozilla-central/source/intl/locale/src/charsetalias.properties is a close approximation of the characters that Gekko knows about. CP437 is not really one of them.

+2
source

Another thing you could try is to use the CP850 , which is pretty close to the CP437. Some of the box characters are different, but I don't think you use them.

+2
source

, . , Windows CSS Terminal -font.

*{font-family:Terminal !important;}
0
source

All Articles