UTF-8 to UTF-8 conversion
UTF-8 to UTF-8 conversion
- Subject: UTF-8 to UTF-8 conversion
- From: Nicolas Zinovieff <email@hidden>
- Date: Thu, 28 Apr 2005 12:01:39 +0200
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...
Is there any mathematical or programmatical way to calculate the
corresponding character in utf-8 (here : 0x65 0xCC 0x80 -> 0xC3 0xA8) to
"simplify" the string?
I know I could build the whole table, but that's roughly 50 chars times
16 diacritic marks I have to use, which is ~ 10^27 combinations.
Thanks a lot for any insight.
--
Nicolas Zinovieff
Custom developments from France
*-------------------------------*
Fortune:
Command, n.:
Statement presented by a human and accepted by a computer in
such a manner as to make the human feel as if he is in control.
_______________________________________________
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