| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Ignoring case |
JG> > >>> 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. > > > Consider the Greek alphabet. > > The Greek alphabet has a one-to-one mapping between lower and upper case, > doesn't it? JG> No. Think about the letter sigma. Neither does Modern French, interestingly. All of the accented lower-case letters have a specific collation sequence. But according to what I believe to be the latest rules, you don't accent upper-case characters. So what order words are sorted into depends from what case they are in. Converting to lower case and sorting could easily give a different ordering to converting to upper case and sorting. Which is why stricmp() and its ilk are far more difficult and full of pitfalls than they at first seem, which was the original point. ... And why they never made it into an _international_ standard. > JdeBP < ___ X MegaMail 2.10 #0: --- Maximus/2 2.02* Origin: DoNoR/2,Woking UK (44-1483-722344) (2:440/4) SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809 @PATH: 440/4 141/209 270/101 105/103 42 712/515 711/808 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™.