5 Replies Latest reply on Jun 19, 2007 5:46 PM by ntsiii

    Encoding htmlText

      I need to pass htmlText to a server-side script via a URLRequest, but I get this error because the html has single quotes in it and is being sent via POST as a variable. How can I encode the htmlText so it passes " \' " for each " ' "? I assume that will solve the issue.

      Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs.