On 9 Apr 2008, at 21:02, [EMAIL PROTECTED] wrote:
Take a look at CFStringTransform(). The details will depend on
exactly what you want to do.
I just have taken a look at CFStringTransform.
kCFStringTransformLatinThai = "reversible transform to transliterate
text to Thai from Latin."
But: the reverse (Thai -> Latin) always returns NO, i.e. does not work.
In the forward direction there a few strange things:
"h" → "ก" = THAI CHARACTER KO KAI
There are two 'h' letters in Thai: HO HIP and HO NOKHUK - KO KAI is
not one of these.
Other consonants getting translated in a surprising way are 'q', 'v'
and 'x'.
kCFStringTransformMandarinLatin = "reversible transform to
transliterate text to Latin from ideographs interpreted as Mandarin
Chinese."
The reverse returns YES (i.e. no problem) but does nothing, just
returns the input string unmodified.
(I have no idea how the reverse could ever work, given the huge
number of homophones in Mandarin.)
Maybe I am doing something wrong? Or misunderstanding the documentation?
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]