Translating UTF8 range into NSString range?
Translating UTF8 range into NSString range?
- Subject: Translating UTF8 range into NSString range?
- From: Izidor Jerebic <email@hidden>
- Date: Wed, 6 Oct 2004 11:49:05 +0200
Hello!
I have an array of utf8 encoded bytes, which are processed by flex (it
works in 8-bit). This processing results in ranges of characters, but
for the utf8 byte array. I would like to have these ranges in Unicode
range, so I can use them with NSString, which is created from this utf8
encoded data (characterAtIndex: and so on)...
These utf8 ranges are known to be valid, because all non-ascii stuff is
grouped together, so no Unicode character is ever split.
Does anybody know of a way to translate utf8 range into corresponding
NSString Unicode range?
Regards,
izidor
_______________________________________________
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