Finding Thai Words
Finding Thai Words
- Subject: Finding Thai Words
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Fri, 30 Jan 2009 17:51:03 +0700
The logical order for Thai words is: consonant, tone mark, vowel.
But if one writes with a pen, one almost always writes: consonant,
SARA I, MAI EK - because this is a natural order from bottom to top.
The good thing is: the find in NSString (without NSLiteralSearch) does
not care about the writing order: looking for "MAI EK, SARA I" will
also find "SARA I, MAI EK".
WIth one exception: "SARA AM, tone mark" will NOT find: "tone mark,
SARA AM".
Bug or feature?
Tested in TextEdit on 10.5.6.
Kind regards,
Gerriet.
_______________________________________________
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