Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)



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


References: 
 >Re: (no subject) (From: Arno Gourdol <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.