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: Dominik Wagner tcm <email@hidden>
- Date: Thu, 18 Oct 2007 14:05:37 +0200
On 18.10.2007, at 13:59, Half Activist wrote:
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?
What our customers want is to clearly be able to see and edit every
codepoint of unicode. so they see a a" if it has two codepoints and
a ä if it has one. On top of that we'd like to be able to edit the
codepoints, so delete the " separatly of the a as well as add or
remove them.
This might also be an optional thing to turn on in the view menu.
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.
I'm not so much interested in the input side as in the representation
side.
best,
dom
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/
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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