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,
urldecode("%3a%")
=:%
-- validurldecode("%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
Post a Comment