3 Replies Latest reply on Feb 29, 2008 2:50 AM by ronaldploeger

    URL encode Strings in Flex


      how do I URL encode strings with the utf-8 charset in flex?

      For example I have the String "Müller" with an u umlaut in it. What I want to get is:

      m%c3%bcller (utf-8 url encoded)
      and not
      m%fcller (iso-latin-1 url encoded)

      In Java I would use URLEncoder.encode("Müller", "UTF-8"), but what is the equivalent in flex?

      I appreciate your help,