views:

72

answers:

1

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.

A: 

the problem is you are changing the encoding of the text make sure that what you are sending it to is working in the same encoding as you are sending.

check out similar posts like this one for an explination.

shortstick