DECLARE Integer UrlEscape IN Shlwapi.dll ; String pszUrl,; String @pszEscaped,; INTEGER @pcchEscaped,; INTEGER Flags lcString ="Give me break!" + CHR(13) + CHR(10) + "Enough already!" + CHR(133) lcBuffer = SPACE(255) lnSize = LEN(lcBuffer) ? UrlEscape(lcString,@lcBuffer,@lnSize,0) ? lcBuffer * ? UrlEncode(lcString) && compare against wwUtils RETURNAt first I had this not work at all because it quit at # or ? characters (whihc I removed above). If your string has those values in it, it would fail - as far as I can see in the API ref there's no way to to override this default setting.