Re: controlTextDidChange, backspace possible?
Re: controlTextDidChange, backspace possible?
- Subject: Re: controlTextDidChange, backspace possible?
- From: Clark Cox <email@hidden>
- Date: Wed, 15 Sep 2004 07:49:51 -0400
On Wed, 15 Sep 2004 03:11:52 +0200, Frederick Cheung <email@hidden> wrote:
>
> On 15 Sep 2004, at 02:51, Andreas Mayer wrote:
>
> >
> >> There can also by funky stuff like é (e acute accent if the list
> >> mangles this) can be encoding as 2 characters, deleting one of them
> >> will produce a slightly odd string.
> >
> > Well, yes - but not an illegal one, right?
> I'm not 100% sure if it's nonsensical or illegal.
If the acute accent is deleted, then it becomes a plain 'e', which is
perfectly legal. However, if the 'e' is deleted, then several things
could happen: If that character was at the beginning of the string,
then the string becomes malformed (i.e. there is nothing for the
combining accent to combine with). On the other hand, if there is
another character before the deleted 'e', then the accent will be
applied to that character.
--
Clark S. Cox III
email@hidden
http://www.livejournal.com/users/clarkcox3/
http://homepage.mac.com/clarkcox3/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden