Sending utf-8 data (æ ø å) to aspx page
Hi,
I wrote an as3 application where the user can fill-in a form with name, email, comments, etc. The info is sent to an aspx page that takes care of sending an email to the vendor.
The problem is that since this application is being developed in Denmark, some weird characters are used (æ, ø, and å). Flash seems to be able to send the chars, the problems occur on the aspx side, where the special chars either disappear or are replaced by question marks.
I am not the person who develops the aspx side, and I have no understanding of how it works.
The guy in charge of it, who in return does not know a thing about Flash, is asking me to find out whether the Flash side can take care of the issue by doing something before I send the data.
The crucial part of the code is:
var loader:URLLoader;
loader = new URLLoader();
var [COLOR=#003366]url:String[/COLOR] = "[URL=“http://path/filename.aspx”][COLOR=#003366]http://path/filename.aspx[/COLOR]";
var queryString = ‘?mailto=emailaddress@domain.dk&companyname=’ + Companynavn + ‘&name=’ + Name + ‘&phone=’ + Phone + ‘&text=’ + Text;
var request:URLRequest = new URLRequest(url + queryString);
Can anybody help!
Very truly yours,
Jean-Paul Bardou
P.S.
I realized that this post belongs more here than it did under CS3, where I placed it yesterday.
I hope that this will not be considered as abusive cross-posting…