home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.misc:4611 comp.unix.programmer:5722 comp.unix.questions:14760
- Newsgroups: comp.unix.misc,comp.unix.programmer,comp.unix.questions
- 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
- From: jflood@iat.holonet.net (Jim Flood)
- Subject: Re: What is Extended Unix Code (EUC) character encoding?
- Message-ID: <BzEHn1.5uy@iat.holonet.net>
- Organization: HoloNet National Internet Access BBS: 510-704-1058/modem
- References: <1992Dec14.200226.26302@ncsu.edu>
- Date: Thu, 17 Dec 1992 11:09:00 GMT
- Lines: 17
-
- EUC character encoding uses a one, two, or three byte code for each
- character. In the two and three byte encoding, the first byte acts as
- an escape into a different interpretation of the remaining byte(s).
-
- The wide char (wchar) is a four byte encoding for every character.
- There are library routines to translate between EUC and wchar. With
- wchar, even one byte characters take up four bytes of space.
-
- I found source for the wchar library routines in the X11R5 distribution
- under x11r5/lib (I think?).
-
- Truth be told, I really don't know much about EUC and wchar except the
- little that I have read, but from what I understand it is not the same
- as double-byte codes.
-
- Jim Flood
-
-