Javascript decodeURI(Component) malformed uri exception

%AF is not a character on his own but part of Unicode sequence (MACRON - %C2%AF).

%AF wasn’t produced by encodeURIComponent but something like escape, so it can be decoded by unescape.

What you probably need is decodeURIComponent('%C2%AF')

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)