From: Josef 'Jupp' Schugt Date: 2011-05-04T22:14:56+09:00 Subject: Re: Encoding nightmare On Wed, 04 May 2011 13:05:26 +0200, comopasta Gr wrote: > onclick="remove('Tom%27s+card')" > onclick="remove('Validaci%C3%B3n')" : > BUT now the other one is converted to Validación > Note the ó There is two parts to this. Firstly you are using Percent-encoding (aka URL encoding) which maps spaces to plus signs and characters to %XY tokens wiht X and Y being a hexadecimal digit. This works as intended. Secondly you are encoding the characters according to utf-8 which maps "'" to %27 and "ó" to %C3%B3. However, for displaying ISO-8859-15, Windows-1252 (aka CP 1252) is used which interprets %C3 as  and %B3 as ³. Try either switching to utf-8 or - if this is not possible - using %F3 as the proper encoding of "ó" for the given character set. Jupp