Javascript - Degree Symbol
ANSI version - MS Edge Issue

This page is part of the documentation and testcases related to the issue of displaying a Degree Symbol (°) on web pages via html and javascript.

This test file

Two of the canvases in the table in the next section are written to by code in two javascript files. For some (insane) reason, MS Edge (and ONLY MS Edge) refuses to read the files from the local hard drive.

The Testcases

The following table encapsulates the testcases and is identical in all 4 html files - UTF8 ANSI ANSI with Chrome Failure ANSI with meta tag

As you can see (depending on which scenario you are observing), when that code executes and the Degree Symbol is placed on a canvas, it may be rendered as either a small superscript circle or as a black diamond with a question mark.

Author: Robert Clemenzi
URL: http:// / Languages / Javascript / Degree_Symbol / Degree_Symbol_ANSI_edge_issue.html