home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.c      Meh, in C you gotta define EVERYTHING      243,242 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 242,052 of 243,242   
   Paul Edwards to David Brown   
   Re: C90+ toequiv()   
   23 Nov 25 08:26:05   
   
   From: mutazilah@gmail.com   
      
   "David Brown"  wrote in message   
   news:10fekpt$mkk8$1@dont-email.me...   
      
   > It is not at all clear to me what you are asking about here.  Indeed, I   
   > do not think it is at all clear to /you/.  Have you tried talking   
   > directly to someone who regularly uses a different alphabet - Greek,   
   > Cyrillic, Hebrew, etc.?  Try to explain your idea to them and see what   
   > they think.   
      
   No. This IS my (apparently - next message) attempt to directly   
   talk to someone.   
      
   > At the moment it appears that you want to make "toupper" (or some new   
   > function) somehow take Greek letters (without using UTF-8) and turn some   
   > Greek lower-case letters into some Latin upper-case letters.  But it   
   > should only do that sometimes - not when typing filenames for FAT.   
      
   Yes. The new function would do that.   
      
   toupper() would then be free to continue as-is.   
      
   > So which Greek letter to you think should be "equivalent" to Latin X ?   
      
   Any character will do. locales are flexible like that.   
      
   > Perhaps xi, since it has similar pronunciation to Latin X (in English)?   
      
   Nope - not required. Completely arbitrary. Just the same as it is   
   completely arbitrary on the keyboard itself. ie they likely have the   
   QWERTY keyboard (in small letters) under the Greek. Even if   
   they don't print the English/Latin alphabet, it doesn't matter. An   
   English touch-typist (like me) knows where the QWERTY keys   
   are.   
      
   Note that the layout of QWERTY itself is completely arbitrary too.   
      
   > Perhaps chi, since its capital looks very much like a Latin X, though it   
   > has a different pronunciation and the lower-case is noticeably   
   > different.  And which Greek letter should be "equivalent" to Q, J, or V?   
   >   What should the Greek letters omega and psi convert to?   
      
   Out of scope - arbitrary.   
      
   > And what are you going to do with Cyrillic alphabets (in all their   
   > varieties), and Hebrew, Arabic, or the many dozens of alphabets used in   
   > India and south-east Asia?   
      
   Same deal - arbitrary where they go on the keyboard. Arbitrary   
   what their code point is in any character set. Arbitrary which   
   English/Latin characters they map to.   
      
   I'm not trying to break the tradition of different people inventing   
   different code pages. That's a different problem to solve (and   
   being bypassed with UTF-8 currently, at the cost of extra   
   processing time and code - I don't want either of those things).   
      
   BFN. Paul.   
      
   a   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca