home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / misc / 4611 < prev    next >
Encoding:
Internet Message Format  |  1992-12-17  |  1.3 KB

  1. Xref: sparky comp.unix.misc:4611 comp.unix.programmer:5722 comp.unix.questions:14760
  2. Newsgroups: comp.unix.misc,comp.unix.programmer,comp.unix.questions
  3. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!iat.holonet.net!jflood
  4. From: jflood@iat.holonet.net (Jim Flood)
  5. Subject: Re: What is Extended Unix Code (EUC) character encoding?
  6. Message-ID: <BzEHn1.5uy@iat.holonet.net>
  7. Organization: HoloNet National Internet Access BBS: 510-704-1058/modem
  8. References: <1992Dec14.200226.26302@ncsu.edu>
  9. Date: Thu, 17 Dec 1992 11:09:00 GMT
  10. Lines: 17
  11.  
  12. EUC character encoding uses a one, two, or three byte code for each
  13. character. In the two and three byte encoding, the first byte acts as
  14. an escape into a different interpretation of the remaining byte(s).
  15.  
  16. The wide char (wchar) is a four byte encoding for every character.
  17. There are library routines to translate between EUC and wchar. With
  18. wchar, even one byte characters take up four bytes of space.
  19.  
  20. I found source for the wchar library routines in the X11R5 distribution
  21. under x11r5/lib (I think?).
  22.  
  23. Truth be told, I really don't know much about EUC and wchar except the
  24. little that I have read, but from what I understand it is not the same
  25. as double-byte codes.
  26.  
  27. Jim Flood
  28.  
  29.