Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Latin capital letter O with grave (Extended ASCII Code)
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MySQL
Miscellaneous
Thread ID:
01325021
Message ID:
01325188
Views:
17
The numeric value of an uppercase O with a grave is going to depend on what font and what code page is being used.

So the question is in what font, and which code page are you using?

Here's a small bit of code to dump the characters: (Note the script combo box in the dialog.)
cFont = GETFONT("Arial",9,"N",1)
cFont = '"'+GETWORDNUM(cFont,1,",")+'",'+GETWORDNUM(cFont,2,",")+','+GETWORDNUM(cFont,4,",")
?? cFont
?
FOR X = 128 TO 255 STEP 8
  FOR Y = 0 TO 7
    ?? "  "+TRANSFORM(X+Y)+" =" AT Y*12,CHR(X+Y) FONT &cFont 
  ENDFOR
  ?
ENDFOR
RETURN
Technically 128-255 in ASCII is undefined and any character in the range 128-255 can be referred to as Extended ASCII.

However Extended ASCII when used without clarification is usually used to refer to the IBM Extended ASCII Character set

http://www.cdrummond.qc.ca/cegep/informat/Professeurs/Alain/files/ascii.htm

the one you showed is usually referred to as ANSI.

>Hi,
>
>One more thing, I need to create/set first the password to the mySQL DB, result of ALT + 210 result is not the expected one, but ALT + 149 will do a lower case ò. I need the result in UPPER CASE.
>
>Do you know how to get this letter in upper case?
>
>BTW, here is the below link that categorizing as an extended ascii code...
>
>http://www.ascii-code.com/
>
>Thanks.
>
>>>Hi,
>>>
>>>How to produce from code the above-mentioned title?
>>>The equivalent in HEX and DEC are below but the result is different.
>>>
>>>DEC OCT HEX BIN      Symbol HTML Number HTML Name   Description
>>>210 322 D2  11010010 Ò      Ò      Ò    Latin capital letter O with grave
>>>
>>>
>>>This is a password that needs to setup to MYSQL DB...
>>>
>>>Thanks.
>>
>>
>>CHR(210) should do it.
>>
>>Note, that's actually an ANSI code not an ASCII code. The extended ASCII for that number is a line drawing character. It may also display differently based on which font you are using.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform