home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / msdos / programm / 9333 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  1.5 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!wupost!waikato.ac.nz!canterbury.ac.nz!phys169
  2. From: phys169@csc.canterbury.ac.nz
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Sorting extended character sets (was Re: The Box-Drawing Characters
  5. Message-ID: <1992Sep14.113059.805@csc.canterbury.ac.nz>
  6. Date: 13 Sep 92 23:30:58 GMT
  7. References: <5265@krafla.rhi.hi.is> <1992Aug31.184726.1583@mits.mdata.fi> <la5apvINN8kb@exodus.Eng.Sun.COM> <Bu9Lv8.6pL@ireq.hydro.qc.ca>
  8. Organization: University of Canterbury, Christchurch, New Zealand
  9. Lines: 18
  10.  
  11. In article <Bu9Lv8.6pL@ireq.hydro.qc.ca>, beaurega@ireq.hydro.qc.ca (Denis Beauregard) writes:
  12. > There is a "natural" method of sorting according to which language
  13. > (i.e. French, not Basic :-)  ).  DOS sort in recent versions takes care
  14. > of that.  The method is quite simple (no idea if they do that, but I
  15. > do that in my own qsort-based psort program) : if under 0x80, keep it
  16. > as is (lowercase or lowercase if needed), if over, using a table lookup,
  17. > remap the character...
  18.  
  19. I've always wonderred what the "proper" way is to sort letters with accent
  20. marks (grave, acute, umlaut, etc). Could somebody please explain the order of,
  21. for example, the standard IBM PC extended characters:  131, 132, 133, 134 and
  22. 160, which, presumably, come after 97 (a) but before 98 (b)?
  23.  
  24. I presume all this changes when different country pages are selected, and when
  25. you are running MS-Windows, and when outputting to a variety of printers all
  26. with their own characters sets (and so collating sequences).
  27.  
  28. Mark Aitchison, University of Canterbury, New Zealand.
  29.