Does decodeURIComponent() support character encoding character 
sequences? %F6 looks like an accented character, if you remove this does 
it work? That might give you a clue to the problem or what to search for.

-Steve

Truppe Steven wrote:
> Mark Gibson schrieb:
> 
>> Javascript has the functions:
>>
>> decodeURI(s) and decodeURIComponent(s)
>>   
> I get a string like this:
>       
> Stumpf+einer+Palme%2C+ausgeh%F6hlt%2C+geschliffen+und+mit+Perlmutteinlegearbeiten+verziert
> 
> If this string is inside the variable "test" and i do:
>       var newtest = decodeURIComponent(test);
> 
> I get the error "malformed URI sequence".
> 
> I've looked documentation on 
> http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference
> but there i don't see much about that function...
> 
> Thanks for the fast reply! What am i doing wrong ?
> 
> 
> best regards,
> Truppe Steven
> 
> 
> _______________________________________________
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to