01-18-2013 01:03 AM
Hi. I tried ALT - 176. and it worked to generate the degree symbol. But when i continue to type char 'C' , the string became question mark '?'. Is there a need to type something else in between ° and C so that it wont become the question mark?
, insert char 'C', it became
01-18-2013 04:04 AM
Hold Alt, press 0186, release Alt. If it doesn't work the font doesn't support º.
º-º
You can use Character map to select and copy it, but it also gives the keystroke combination to write it directly.
/Y
01-18-2013 12:13 PM
Actually, the degree sign is Alt-0176. Alt-0186 is a different character that looks a lot like a degree symbol, but looks a little larger and a little lower on the line. Character map calles it the "Masculine Ordinal Indicator" whatever the heck that is supposed to mean. °°ºº are a pair of each side by side.
Alt 0176 followed by a C works just fine for me. I suggest trying again. Be sure to enter the leading zero.
01-18-2013 07:21 PM
Thank for all your replies. I tried and found that ° and C need to using different font. It means that after i typed ° , i have to change to another font at font setting then type in char 'C'. Symbol °C perfectly shown on string indicator
01-18-2013 07:39 PM
What font did you have there to begin with? I have never had to change fonts. The default font for LabVIEW (which I think maps to one of the windows fonts) works just fine for me. Are you dealing with some sort of foreign Unicode font?
01-18-2013 08:33 PM
I had tried different font for example Arial, Times New Romen , Calibri . It just cannot shown ºC together. º and C need to use the font which different with each others.
Since you said that there is no problem for you in labview. So i think should be different language setting between computers and i made a test for it. Initially, I set Chinese (Simplied,PRC) to 'Current language for non-Unicode programs' setting at control panel. With this setting, ° and C cannot type together with the same font. So , i now changed the setting to English (United State). The °C is perfectly shown together. Thank again for your attention
01-18-2013 08:38 PM - edited 01-18-2013 08:40 PM
Make a correction at here. The ascii code for º is 167. Not 176 as i stated before. Now just found out the mistake
01-18-2013 08:56 PM
Perhaps it is in a different location for the font you are using. But it is always Alt-0176 in the fonts I regularly use.
01-20-2013 10:06 AM
Alt 249
01-20-2013 12:15 PM - edited 01-20-2013 12:20 PM
Alt+ ASCII code in decimal is an interesting way to generate characters. The Alt+ scans to ASCII NOT UTF-8 and Extended ASCII characters are platform specific not font specific. Several extended ASCII implementations exist. Windows uses the ISO Latin-1 codes that can be found here
PS my alias contains Alt+0267Alt+0222Alt+0267