0 Replies Latest reply on Jan 13, 2010 1:25 AM by zammer73

    Cyrillic encoding with getURL

    zammer73

      I am creating a swf for use on a Russian website.

      I have search box that the customer enters their search term which I then concatenate to the URL string in the getURL method.

      When i use western characters this work fine but when i use cyrillic characters it breaks.

      Does anyone know a way round this?

      Or a way to output the characters using UTF-8?

       

      Code Below

       

      on (release, keyPress "<Enter>")
      {
           if (search_text != "" && search_text != " " && search_text !=  undefined)
          {
              var newURL = "http://www.WEBADDRESS.com/variable="+search_text;
               getURL(newURL, "GET");
          }
      }
      'search_text'  variable refers to input field.



      Thanks


      Matt