TIP: Click on subject to list as thread! ANSI
echo: delphi
to: DAN UGRIN
from: YVES VAN HAL
date: 1996-06-18 09:52:00
subject: Copyright symbol

 > DU> Characters past 127 are entered by holding down the alt key then
 > DU> typing the character number preceded by a zero, using the number
 > DU> keypad.  The copywright character is alt+0169.  To find out the
 > DU> character number you can use the Character Map program that comes
 > DU> with Windows. Click on the character you want and the keystroke
 > DU> combination is shown in the lower right corner.
 > SB> I tried this in Delphi with Win95 and it beeps and pops up another
 > SB> screen...You can put it in with code by doing MyStr:=Chr(167).
Sorry to doubt this, but would it not be true that this depends on the 
codepage you are using on your machine. I have not checked it, but I know 
that when using accented characters you can have serious problems. I thought 
there was even a difference between the charset Windows is using and the 
codepage your machine is defined to work with.
I reread the explanation of this in Petzold's "programming windows 3.1". As 
he states it, Windows is capable of working with two kinds of charsets. The 
first being the OEM (or IBM-standard) and the second being ANSI. OEM charset 
is used to support older applications and contain box characters. ANSI 
charset is the one used for Windows programming. When exchanging text between 
DOS and Windows, you would have to perform conversion. This can be found in 
the above mentioned book from page 127 on.
Hasta la Modem,
Yves
--- FMail 0.92
---------------
* Origin: First there was Oracle, finally we got Delphi (2:292/8014.9)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.