[comp.windows.x] X11R3 and accents

brossard%litsun2.epfl.ch@MITVMA.MIT.EDU (02/09/89)

                [Sent: Thu. 09/Feb./89  Time: 13:29]
        I'm using X11 (up to patch7) and I'm trying to use the french
characters defined in the courier fonts.  I have a program that runs
under xterm (with the right font) and it writes (using putchar) to the
screen with the correct 8 bits characters.  But what I get is not what
I wanted for example the character <'E> is replaced by a 1.

        I changed the terminal setting to use no parity and pass8, but to
no avail.  All this is on a Sun 3-60, running SunOs3.5.  The question is
am I dealing with a kernel, driver, xterm, X11 problem?  All of the
above?  Should I just forget it and wait a few years until Unix catches
with 8bits ASCII???

                                        Alain Brossard
                                        brossard@litsun2.epfl.ch

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (02/16/89)

    The question is
    am I dealing with a kernel, driver, xterm, X11 problem?

in xterm/charproc.c, in in_put(), there is the following code:

				/* strip parity bit */
				for(i = bcnt, cp = bptr ; i > 0 ; i--)
					*cp++ &= CHAR;