[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-libunistring] UTF-8 backward iteration proposal for libunistrin
From: |
Bruno Haible |
Subject: |
Re: [bug-libunistring] UTF-8 backward iteration proposal for libunistring |
Date: |
Sat, 13 Nov 2010 18:56:44 +0100 |
User-agent: |
KMail/1.9.9 |
Paolo Bonzini wrote:
> > This should be a single U+FFFD.
> > This should be U+FFFD U+0000.
You have an excellent intuition :-)
Ben Pfaff wrote:
> My goal is robust backward
> iteration, not particular semantics for ill-formed sequences.
I think the semantics for ill-formed sequences are more important than
the ability to backward-iterate in O(1) space. But if the corrected
handling of ill-formed sequences yield the latter, the better!
Bruno