the value changes in the sending

the value changes in the sending

hi,

When I send a value to another page, if this value with spaces or special caractaire, these becomes %20
example : 
      before sending : ABOPO PK 18
      after sending : ABOPO%20PK%2018

two pages with <meta charset="UTF-8">

Code first page 
  1. $("#LiElmSelector").live("click",function(e){
  2. var gData = $(this).attr('index');
  3. $(location).attr("href","pharmacieListe.html?" + gData );
  4. });

Code second page

  1. var idSet =  document.location.search
  2. alert('rr :'+ idSet );
  3. idSet = idSet.replace("?","");
Tnx for your Help