Results 1 to 2 of 2

Thread: Unable to decode special character using urlDecode

  1. #1
    Ext User
    Join Date
    Aug 2007
    Posts
    4
    Vote Rating
    0
      0  

    Default Unable to decode special character using urlDecode

    Hi,
    I am facing a problem with Ext.urlDecode function, it is throwing error "uri to be decoded is not a valid encoding" if I pass the special characters(''),
    any idea on this

    Thanks in advance
    Harish

  2. #2
    Sencha User fay's Avatar
    Join Date
    Apr 2007
    Location
    Ireland
    Posts
    1,750
    Vote Rating
    10
      0  

    Default

    From the documentation:

    urlDecode( String string, [Boolean overwrite] ) : Object

    Takes an encoded URL and and converts it to an object.
    Passing a string to this function containing your characters () is considered invalid. Your characters are not encoded URL characters - which would be "%E2%84%A2%C2%AE%C2%A9"

    I imagine that you are thinking of the urlEncode() function.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •