Registered Symbol Problem with Flash Mailto Link

Posted by Nick on Stack Overflow See other posts from Stack Overflow or by Nick
Published on 2010-04-19T23:34:15Z Indexed on 2010/04/20 10:43 UTC
Read the original article Hit count: 246

The problem I'm having is an extra  Chracter being added before the ® symbol in the body of an email created from a mailto: link in flash. This only happens on the PC in MS Outlook

Instead of: MasterCard®!

It shows up as

MasterCard®!

The code in flash AS3:

var req = new URLRequest("mailto:");
var variables = new URLVariables();
variables.body="Blah Blah Blah MasterCard®!";
variables.subject="Make some music!";
req.data = variables;
req.method = URLRequestMethod.GET;

addEventListener(MouseEvent.CLICK, onClick);

function onClick(e:MouseEvent) {
        navigateToURL(req, "_self");
    }
}

This works fine on the mac with mac mail.

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about actionscript