Josef 'Jupp' Schugt wrote in post #996590: > On Wed, 04 May 2011 13:05:26 +0200, comopasta Gr <granadojose / yahoo.com> > 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 (akaRL 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 Hi, thanks for the tip. As replied earlier I managed to solve the issue ith gsub. I just wanted to comment that utf-8 should be in use already. t least based on the meta info generated: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">Thanks again.