Jump to content

Recommended Posts

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.

Share this post


Link to post
Share on other sites

Hi,Try:%((A:Total air temperature,celsius))%!+5d! °CJan"Beatus ille qui procul negotiis..."

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

I use %((A:Total air temperature,celsius))%!+5d!


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

>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.

Share this post


Link to post
Share on other sites

>>I use %((A:Total air temperature,celsius))%!+5d!


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...