ColdFusion : URLDecode("%ara%") is giving me as %ar% -


in coldfusion, urldecode() decodes url-encoded string (url encoding formats characters percent sign , two-character hexadecimal representation of character).

example: %3a hex equivalent ":(colon)" when urldecode() applied on different strings below,

  1. urldecode("%3a%") = :% -- valid
  2. urldecode("%ee") = -- because ee has no equivalent character.

but trying decode string "%ara%" invalid, result getting "%ar%". don't find 2nd occurrence of character "a".can explain me why happening??


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -