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