lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47EE76BD.2000708@zytor.com>
Date:	Sat, 29 Mar 2008 10:05:01 -0700
From:	"H. Peter Anvin" <hpa@...or.com>
To:	David Newall <davidn@...idnewall.com>
CC:	Jan Engelhardt <jengelh@...putergmbh.de>,
	"John T." <j.thomast@...oo.com>, linux-kernel@...r.kernel.org
Subject: Re: UTF-8 and Alt key in the console

David Newall wrote:
> Jan Engelhardt wrote:
>> What do you mean by self-terminating? There is no easy
>> synchronization like in UTF-8, given you are anywhere inside
>> a text stream, how do you know (a) you are already in an
>> escape sequence and (b) how to figure out the rebegin of
>> normal text.
> 
> It's not very useful being able to tell you are inside a escape sequence
> unless you see that sequence from the start.  You do need the complete
> sequence to make sense of it.

I think what Jan is alluding to is the property of UTF-8 text that you 
can start in the middle of a string and either skip an incomplete 
character or find the beginning of it.  If you can search backwards, you 
can find the beginning of an escape sequence, too; the "skip incomplete" 
  functionality is missing, though, but as you say, isn't actually all 
that useful in real life *for the applications which use these kinds of 
escape sequences.*

	-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ