0 Replies Latest reply on Jun 6, 2007 8:14 AM by eranarki

    I18N, Sending from flex to Java server

    eranarki Level 1
      I'm doing a flex application for client and Java for server side.
      i want to send the name of the user to the server.

      var loader:URLLoader = new URLLoader();
      var vars:URLVariables = new URLVariables();

      vars.name = name <-or-> vars.name = escape(name)

      var req:URLRequest = new URLRequest(URL_SERVLET);
      req.data = metaDataVars;


      When i get the parameters in the server i get them in gybrish if some
      enters it's name in for example Chinease, or Arabic.
      the Java function URLDecoder.decode(name) doesn't help

      what should i do?