Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!mcvax!hafro!krafla!marius From: marius@rhi.hi.is (Marius Olafsson) Newsgroups: comp.mail.elm Subject: Re: 8 bit characters Message-ID: <887@krafla.rhi.hi.is> Date: 21 Apr 89 22:43:49 GMT References: <5064@pbhyf.PacBell.COM> Organization: University of Iceland Lines: 32 From article <5064@pbhyf.PacBell.COM>, by rob@PacBell.COM (Rob Bernardo): > In article <645@maxim.ERBE.SE> prc@maxim.ERBE.SE (Robert Claeson) writes: > +When I'm at it, ELM 2.1 allowed the use of 8-bit character sets (I > +generally use the ISO 8859/1 8-bit character set, also called "Latin 1") > +but ELM 2.2 displays them as a '?'. .... > > Should characters higher than octal 177 set simply be output? No. (ISO8859 has additional control characters in the upper half) In a couple of places in the 2.2 code the check for unprintable characters (thus if to output a '?') is of the form if ( (c < ' ') || (c > '~') ) .... and in other places it is of the form if (!isascii(c)) .... All we ask is that these both be replaced with if (!isprint(c)) ... Since those who must use the ISO8859 sets usually replace the 'ctype' macros anyway, doing it this way allows us to use the code unchanged and those who use ASCII don't notice the difference. The patches for this are on the way to elm@dsync.uucp (again :-) -- Marius Olafsson Internet: marius@rhi.hi.is University of Iceland Non-MX: marius%rhi.hi.is@uunet.uu.net UUCP: {mcvax,enea,uunet}!hafro!rhi!marius