Re: UTF-8 to UTF-8 conversion
Re: UTF-8 to UTF-8 conversion
- Subject: Re: UTF-8 to UTF-8 conversion
- From: Shawn Erickson <email@hidden>
- Date: Thu, 28 Apr 2005 08:34:58 -0700
On Apr 28, 2005, at 3:01 AM, Nicolas Zinovieff wrote:
Hi gang,
this is not purely cocoa related, but I'm having a hard time with some
UTF-8 strings.
What I get is a string where all the marks are diacritic ones (e + ` =
รจ), and when I hand them to the compositor for an insertion in a view,
the styles get mixed up.
It looks like the diacritic "cancels" somehow italics and underlined,
etc...
Thanks a lot for any insight.
I think you will need to better outline what you are doing, hopefully
with code examples, since it is likely a quirk in your code or
something you aren't correctly supporting. Of course you could also be
hitting a framework bug... who knows.
For one how are you applying your style attributes to things in the
string or text storage?
Consider the following...
<http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
ObjC_classic/Classes/NSString.html#//apple_ref/doc/uid/20000154/
rangeOfComposedCharacterSequenceAtIndex_>
Review the following if you haven't already...
<http://developer.apple.com/documentation/Cocoa/Conceptual/
TextStorageLayer/index.html>
-Shawn
_______________________________________________
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