January 10, 200620 yr Hi,I did a search and found little. I wonder if I can use Unicode encodings or escapes within an XML tags?my attempts with U+2103 and 0x2103 have not met with success. I also tried the HTML escape sequence: ℃This is my first dive into XML gauge programming and I am starting off by teaching myself how to make an OAT gauge.What I am looking to do is show the unicode symbol for "Degrees Celcius."I realize I could probably call a C library to do this, but my challenge is to learn XML gauge programming and I'm looking to do it with an XML String (which I'm getting the hang of). Thanks,J- Jeff Bea I am an avid globetrotter with my trusty Lufthansa B777F, Polar Air Cargo B744F, and Atlas Air B748F.
January 10, 200620 yr Hi,Try:%((A:Total air temperature,celsius))%!+5d! °CJan"Beatus ille qui procul negotiis..." Jan "Beatus ille qui procul negotiis..."
January 10, 200620 yr Author Hi Jan,Thanks, but how did you get that degree symbol to appear? As the XML file is just plain text, surely you had to do something special to make U+2103 appear? That is what my code looks like, but I only have "C" in there.The (hex) unicode value 2103 actually shows the symbol and C together.Thanks,J- Jeff Bea I am an avid globetrotter with my trusty Lufthansa B777F, Polar Air Cargo B744F, and Atlas Air B748F.
January 11, 200620 yr Moderator I use %((A:Total air temperature,celsius))%!+5d! Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
January 12, 200620 yr Author >I use %((A:Total air temperature,celsius))%!+5d! Jeff Bea I am an avid globetrotter with my trusty Lufthansa B777F, Polar Air Cargo B744F, and Atlas Air B748F.
January 12, 200620 yr Moderator >>I use %((A:Total air temperature,celsius))%!+5d! Fr. Bill AOPA Member: 07141481 AARP Member: 3209010556 Avsim Board of Directors | Avsim Forums Moderator
January 12, 200620 yr Author Hi Bill,Thanks, I "re-edumacated" myself on the whole Alt + thing for accessing Unicode here: http://www.fileformat.info/I gotta remember that these are usually expressed as hex (without the "+" will accept the entry of decimal/base-10).Visual Studio took it just fine.J- Jeff Bea I am an avid globetrotter with my trusty Lufthansa B777F, Polar Air Cargo B744F, and Atlas Air B748F.
Create an account or sign in to comment