home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / 21451 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.7 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!cleveland.Freenet.Edu!cq377
  2. From: cq377@cleveland.Freenet.Edu (David C. Williss)
  3. Newsgroups: comp.windows.x
  4. Subject: wide characters (16-bit)
  5. Date: 22 Jan 1993 04:43:29 GMT
  6. Organization: Case Western Reserve University, Cleveland, OH (USA)
  7. Lines: 27
  8. Message-ID: <1jnu1hINN1l1@usenet.INS.CWRU.Edu>
  9. Reply-To: cq377@cleveland.Freenet.Edu (David C. Williss)
  10. NNTP-Posting-Host: hela.ins.cwru.edu
  11.  
  12.  
  13. Question 1:  I need to set up an application to use a 16-bit (wide
  14. character) font, such as Chinese.  I can set the fontList, but
  15. how do I enter the text in vi?  For that mattter, how do you enter
  16. characters above 127 in vi?  
  17.  
  18. Question 2:  When creating a text file where the text is 16-bit, is
  19. it customary to write "wide characters" or "multi-byte"  POSIX has
  20. wide character to/from multi-byte conversion functions.  My coworkers
  21. argue that writing "wide character" (16 bits for everything) makes
  22. it easier to process.  I argue that using "multi-byte" (8-bit where
  23. you can, and using special codes to shift to/from 16 bit where you
  24. need to) makes the files generic.  If it only contains characters in
  25. the lower 127 (ASCII) or in the ISO Latin-1 range, it won't take up
  26. any more room and can still be read/edited by programs that aren't
  27. wide-character aware.  
  28.  
  29. Question 3:  Does vi handle either "multi-byte" or "wide-character"?
  30. If so, which?  Actually, if it does, the "which" will answer my
  31. question 2.
  32.  
  33.  
  34. -- 
  35.         -Dave Williss
  36. ---------------------------------------------------------------------------
  37. Standards are great!  Everybody should have one of their own!
  38. The opinions stated above are Mine!  All Mine!  You can't have them.
  39.