Problem with non-ASCII characters in Javascript side?
This is my ActionScript code in Flex:
<?xml version="1.0" encoding="utf-8"?>
and here is the JavaScript counterpart in PDF:
//-------------------------------------------------------------
//-----------------Do not edit the XML tags--------------------
//-------------------------------------------------------------
//
//Testing
//
/*********** belongs to: Document-Level:Testing ***********/
function PdfFunction(cMsg) {
app.alert(cMsg,3);
};
//
//
//
//Page1:Page Open:Action1
//
/*********** belongs to: Page-Actions:Page1:Page Open:Action1 ***********/
this.getAnnotsRichMedia(this.pageNum)[0].activated = true;
//
//
Button label seems to be OK, but alert box shows funny characters...
anybody knows how to fix this? How I told encoding in JavaScript?
JavaScript native encoding is as utf-16...
also I can't get this to work :-(
seems that there is a limitation to send
'special' character strings to pdf.
Other users (Thomp, gkaiseril, joshcorey), is it so?
Regards,
Freelancer
According to most IT HelpDesk people, the most common reason for user error (regardless of Operating System) is ID 10T.