Re: contextual menu with unicode characters (solved)
Re: contextual menu with unicode characters (solved)
- Subject: Re: contextual menu with unicode characters (solved)
- From: Arthur Clemens <email@hidden>
- Date: Wed, 11 Sep 2002 20:07:49 +0200
On woensdag, sep 11, 2002, at 19:06 Europe/Amsterdam, Ondra Cada wrote:
>
On Wednesday, September 11, 2002, at 05:03 , Arthur Clemens wrote:
>
>
> These characters are eastern european characters with carons.
>
>
Heck, it is *Central* Europe here ;)))
Right!
>
>
> How do I represent these characters in a plist? If I just put the
>
> characters and encode as unicode, the menu does not work.
>
>
No reason I see for such problem. All popup menus should support
>
Unicode just as well as the rest of Cocoa. How exactly you read the
>
plist in and create the menu?
By playing around I found the (simple) solution:
I was using the following plist:
{
tags = (
c,
s,
z
);
}
This works for english characters. For international characters you
must use quotes, so:
{
tags = (
"h",
"9",
">"
);
}
And save with File Encoding Unicode UTF-8 or UTF-16
Arthur
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.