Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am sorry I am anaware of the exact terms. I submit in non-latin a string and in the next page the value "%23%24..." returns. How can I retrieve the correct value? Thanks.

share|improve this question
1  
possible duplicate of Stop wordpress from "correcting" my code? –  Brian Fegter Sep 24 '12 at 14:36
1  
Please note the convert_chars note in the previous answer link. –  Brian Fegter Sep 24 '12 at 14:37
    
Sorry maybe my explanation is inadequate. I mean "I submit a non-latin string in a form string variable. The receiving page makes a GET on the value and echoes it as %23%24 etc." How can I fix this and echo the original string value? –  p.a. Sep 25 '12 at 6:09
1  
This would then need to be asked at Stack Overflow as it's a strictly PHP question or search urldecode() on The Google. –  Brian Fegter Sep 25 '12 at 8:50
    
Thanks, urldecode() was what I needed. –  p.a. Sep 27 '12 at 7:01

1 Answer 1

up vote 0 down vote accepted

urldecode() solves this problem, as suggested by @BrianFegter

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.