Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Ali Ozer <email@hidden>
- Date: Sat, 5 May 2001 15:47:27 -0700
This did used to work and I believe is broken for the time being. But,
in general "lossy conversion to ASCII" is not a general mechanism for
stripping off diacritics anyway... Other than this, I don't think
there's a mechanism for stripping off diacritics in NS- or CFString, but
I'll double-check. Would be reasonable thing to add.
Ali
On Saturday, May 5, 2001, at 10:02 AM, Arno Gourdol wrote:
On Saturday, May 5, 2001, at 02:41 AM, Marcel Bresink wrote:
Am Samstag, 5. Mai 2001 um 05:59 schrieb email@hidden:
*(char *)([[@"i" dataUsingEncoding: NSASCIIStringEncoding
allowLossyConversion:YES] bytes])
be? I would expect 'e', but I get \001.
Hm, I would expect 'i' and that's exactly what is returned.
Mmm, looks like another encoding problem with mail, this time :-)
Instead of "i" you should read "e" accute (é). So, I'm trying to
strip diacritical marks, but converting to ASCII doesn't seem to work.
Arno.
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev