1 Reply Latest reply on Mar 25, 2009 12:04 PM by mxmax

    HTTPService

    mxmax
      var params:Object = new Object();
      params.Fld1 = Fld1.text; //the Fld.text is åäö
      params.Fld2 = Fld2.text; //the Fld.text is ÅÄÖ

      var request:HTTPService = new HTTPService();
      request.method = "POST";
      request.send(params);

      When recieving the params in the server-function the Fld1 is translated to UTF-8 (åäö) and is ok.
      but the Fld2 is translated to samething else (Ã?Ã?Ã?) and is not UTF-8.


        • 1. Re: HTTPService
          mxmax Level 1
          Problem solved!
          In bug report SDK-13922 there are a workaround

          var customHeaders:Object = new Object();
          customHeaders["Content-Type"] = "application/x-www-form-urlencoded; charset=UTF-8";
          _httpService.headers = customHeaders;