These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Unicode and app.PopupMenu and app.PopupMenuEx

adamrleggett
Registered: Jul 9 2007
Posts: 5
Answered

Hi there,

Am I missing something or does app.PopupMenu and app.PopupMenuEx have a problem with Unicode?

If I specify encoded Unicode text in /uXXXX form - or use the JavaScript editor in Acrobat Professional to directly enter Japanese text - the popup menu shown on execute just shows dots (periods) instead of the Unicode character.

However when I call app.Alert - the same encoding - or Japanese text works fine.

eg.

app.alert("Hello アサポ \u30D7\u30ED\u30BB\u30B92");
var r=app.popUpMenu("Hello アサポ \u30D7\u30ED\u30BB\u30B92");

shows a Message box that says "Hello アサポ アサポ"
and a popup menu that says "Hello .... ...."

It doesn't seem to be a font problem - and I'm amazed I can't find anyone else asking this question - which suggests to me that I'm doing something wrong.

Thanks in advance

Adam

adamrleggett
Registered: Jul 9 2007
Posts: 5
This appears to be an Acrobat Reader bug. If you are running Japanese XP the above examples work. If you are running English XP with full Japanese character set and codepage support - including having the Japanese codepage set for non-unicode programs - it does NOT.