Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why does [ALT+224] return Ó instead of alpha?

Status
Not open for further replies.

rschaaf

Technical User
Jun 2, 2003
15
NL
I am looking for the right settings to be able to use the proper ASCII codes. I suppose it is related to keyboard- or regional settings, but I cannot seem to find the answer...
 
This is because Windows uses ANSI rather than ASCII codes. Alt+0224 produces an a with an acute accent.

To find out ANSI codes, run character map (charmap.exe) and have a look at the keystroke for your appropriate character.
Remember that the actual character will depend on your current font.

John
 
thanks, this clarifies my problem, but unfortunately doesn't solve it. It seems I have to work around it...
 
Rschaaf,

The first 128 characters are identical between ASCII and ANSI, it is unfortunately those further up (the accented characters, mathematical symbols etc) that differ.
To enter an ANSI keyboard code, you need to use a 4 digit number with a leading zero, as per my example above.

John
 
I am fully aware of that, unfortunately I really need the alpha and it is not included in the extended set.
Let me explain the situation:
I am writing a WinWord template for documents concernig chemical products. In an opening screen, the products' name is entered into a textbox. This name is used later to compose the document name, and occurs at several places (as a document property field) in the document as well. Sometimes the product name contains an alpha, beta or delta character.
I can't change the textboxes font into 'Symbol' because then the entire name will be in symbol.
The only thing I can come up with now, is writing 'alpha' into the textbox, use this for the document name (apparently I can't use alpha's there either) and perform a search and replace action to convert 'alpha' into the symbol.
I think it's a nasty solution do you have a better idea?

TIA, Robert
 
Look in Tools/AutoCorrect... (AutoCorrect tab) to see if there is an entry to automatically replace [blue] à [/color] with [blue] ó [/color] (Alt-0224 v Alt-0243).

How did you get the [blue] ó [/color] in your post here? Did you type Alt-0224? (I had to type Alt-0243 to get that there.) Perhaps there is a problem with your keyboard. Alt-0224 should produce [blue] à [/color] in almost all character fonts.

Perhaps if all else fails, you can copy the character from the Character Map (Start/Programs/Accessories/System Tools/Character Map -- or Start/Run: C:\WINDOWS\CHARMAP.EXE)
 
Robert
Could you use an autocorrect entry to change "alpha" to the alpha symbol in the other font?

John
 
'Zathras':
I don't want the Ó, ó, or à (produced by ALT+ 224, 0243 and 0224), but I need the Greek letter alpha (a in the font 'Symbol'). However, I need to use the keyboard to type it because I'm entering it into a textbox, together with 'normal font' letters.

John:
This what I was thinking of, but I don't really like it... Anyway, if this is the way, so be it.
Actually, I won't use autocorrect, but write it in the 'document startup' macro.

Thanks for you help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top