Webtags (preserving history): Difference between revisions

m
Line 39: Line 39:
== Encoding ==
== Encoding ==


You can skip this section, but if you have problems with a web page not displaying the '''°''' symbol correctly, it will be because the character set encoding is either not declared or not consistent. Put simply, most modern web pages use "utf-8" encoding, but for historical reasons Cumulus defaults to producing files in ISO-8859-1 encoding. This causes the mismatch. To add just a little more detail here, if you choose to implement a web page to display a Cumulus report, then the HTML of the web page to display the report, the JavaScript that selects which report to show, and inserts the report into the HTML, and the report itself must all use the same encoding, to avoid problems with displaying correct characters.
You can skip this section, but if you have problems with a web page not displaying the '''°''' symbol correctly, it will be because the character set encoding is either not declared or not consistent. Put simply, most modern web pages use "utf-8" encoding, but for historical reasons Cumulus defaults to producing files in ISO-8859-1 encoding. This causes the mismatch.  
 
To add just a little more detail here, if you choose to implement a web page to display these Cumulus reports, then the HTML of the web page to display the report, the JavaScript that selects which report to show, and inserts the report into the HTML, and the report itself must all use the same encoding, to avoid problems with displaying correct characters.


With that introduction, you can now choose whether to read the rest of this section which uses more technical terminology.
With that introduction, you can now choose whether to read the rest of this section which uses more technical terminology.
5,838

edits