-->
Page 1 of 1

ASCII characters greater than 127

PostPosted: Mon Nov 16, 2015 5:54 am
by Rotohammer
For the temperature controller project, I added the degree symbol to the wprint that outputs the current temp:

Code: Select allwprint "CurrTemp="
wprint htmlvar(curr)
wprint "&deg;F<br>"


Which works/renders just fine (CurrTemp=71.26°F). But, If I edit the program, the &deg; gets converted to the actual symbol ie: ° . Then when I save the program, the degree symbol gets translated into ° possibly due to the character mapping done in GetRidOfurlCharacters, or possibly from an encoding of the browsers program editor contents during the save POST.

I mention this in case you are familiar with the issue already. Otherwise I will track down the issue and let you know how I solve it.

Re: ASCII characters greater than 127

PostPosted: Tue Nov 17, 2015 5:38 pm
by Mmiscool
This is an interesting one. I normally try to stay in the normal set of characters.

If you don't mind digging in to this I would appreciator it.