Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2008 12:35:10 -0800
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        rick-freebsd@kiwi-computer.com
Cc:        Ed Schouten <ed@fxq.nl>, FreeBSD Arch <freebsd-arch@freebsd.org>
Subject:   Re: Proposal for redesigning the TTY layer
Message-ID:  <840B6A4A-3F3C-477A-A667-086ABFCE8BF6@mac.com>
In-Reply-To: <20080213195531.GA93104@keira.kiwi-computer.com>
References:  <20080213150500.GH1340@hoeg.nl> <A86365DD-5D15-42F2-A810-493B9F9E7AA3@mac.com> <20080213192808.GL1340@hoeg.nl> <2672DC03-9293-4A92-969B-074CAB55176B@mac.com> <20080213195531.GA93104@keira.kiwi-computer.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Feb 13, 2008, at 11:55 AM, Rick C. Petty wrote:

> On Wed, Feb 13, 2008 at 11:36:56AM -0800, Marcel Moolenaar wrote:
>>
>>> I personnally think we shouldn't put multibyte-handling inside the
>>> clists, but within the drivers, like syscons.
>>
>> The problem with doing it that way is that insertion of control
>> characters, like XON/XOFF or STOP may happen right in the middle
>> of UTF-8 sequences. This may be problematic...
>
> Technically this shouldn't be a problem, because all subsequent  
> UTF-8 bytes
> have bit 7 set and bit 6 cleared and XON/XOFF are 7-bit clean, so it  
> should
> be pretty obvious that the handshaking happens in the middle of a  
> multibyte
> sequence.

Maybe so, but it wouldn't be a surprise to me that such is
unexpected by UTF-8 parsers and could cause problems, such
as the printing of error glyphs...

-- 
Marcel Moolenaar
xcllnt@mac.com





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?840B6A4A-3F3C-477A-A667-086ABFCE8BF6>