Re: NSTextView, Mail, and umlauts / combining marks / diacriticals
Re: NSTextView, Mail, and umlauts / combining marks / diacriticals
- Subject: Re: NSTextView, Mail, and umlauts / combining marks / diacriticals
- From: Half Activist <email@hidden>
- Date: Thu, 18 Oct 2007 13:59:12 +0200
Hi Dominik,
I guess i didn't clearly understood want you'd like to do.
Display ä as a and then ¨ be it a composite character or not,
Or whatever the "text editor" receives change it into a composite
character?
In both cases, I think you'd need to rely on cases or an array of
decompositions.
For the latter case, I'd give a look at INput Methods, (NSTextInput
or something like that) to translate what the user types into
something else.
Regards.
On Oct 18, 2007, at 5:16 AM, Dominik Wagner tcm wrote:
Hi All!
we have the following issue, Unicode can use 2 representation for
the german umlaut ä
on the one hand
U+00e4
and on the other hand
U+0061 U+0308
The cocoa text system usally displays them identical, except that
the latter one counts as 2 characters. However in mail it is
displayed as two characters too: ä
As we do our texteditor we want to display the separate unicode
codepoints as such and see an a and an " in that case. The display
in Mail suggests there is an switch for getting that behaviour.
Does anybody know what i have to turn on or subclass to make this
work?
Best,
dom
p.s.: on a sidenote - if you want some fun and place many U+0308s
after an vow you get many many "s above it - and if you want more
fun you can turn on the spell checker and boom goes the
spellchecker...
--
Dominik Wagner Mail: email@hidden
TheCodingMonkeys http://www.codingmonkeys.de/
Blog - DasGenie: !Scrap http://scrap.dasgenie.com/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden