TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jonathan de Boyne Pollard
from: Jon Guthrie
date: 1995-03-09 10:52:28
subject: Ignoring case

03 Mar 95, Jonathan de Boyne Pollard writes to Peter Hansen:

 >> What possible difference could that make?  Even in routines such as
 >> C's stricmp() "ignoring case" is generally performed by
converting
 >> both compared characters to uppercase for the duration of the
 >> compare.

 >   John is implying that there's not necessarily a one-to-one mapping
 >   between lower and upper case in all character sets.

The normal way of handling that case is to not map the characters that have
no other-case equivalent.  Just like functions like stricmp() are not
supposed to translate characters that aren't alphabetic.  (They don't
always, which is one reason why functions like stricmp() aren't in the ISO
standard for C.)

- Jon

--- GoldED/2 2.42.G0214
* Origin: The Wandering Programmer Comes Home (1:106/2000.25)
SEEN-BY: 105/42 620/243 624/50 711/401 409 410 413 430 807 808 809 934 955
SEEN-BY: 712/407 515 628 704 713/888 800/1 7877/2809
@PATH: 30883/25 106/2000 449 116 170/400 270/101 105/103 42 712/515 711/808
@PATH: 711/809 934

SOURCE: echomail via fidonet.ozzmosis.com

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