# PHP special character question

**URL:** https://forum.kirupa.com/t/php-special-character-question/53014
**Category:** programming
**Created:** [May 29, 2004, 11:26pm UTC](https://forum.kirupa.com/t/php-special-character-question/53014 "2004-05-29T23:26:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Ludovic](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@Ludovic](https://forum.kirupa.com/u/Ludovic)
#### Post date: [May 29, 2004, 11:26pm UTC](https://forum.kirupa.com/t/php-special-character-question/53014/1 "2004-05-29T23:26:02Z")

</div>

Hi

I have a flash application that sends a string to a PHP file who sends it back via email.

Looks like this:

on(release){  
my\_lv = new LoadVars();  
my\_lv.LASTNAME = escape(LASTNAME);  
my\_lv.FIRSTNAME = escape(FIRSTNAME);  
my\_lv.EMAIL = escape(EMAIL);  
my\_lv.send(“[http://carpell.com/MAILSENDER.php](http://carpell.com/MAILSENDER.php)”, “POST”);  
}

and in teh php file, i use the function urldecode() to decode the string, but when special characters are in the string, they become “phuked up”

like “é” becomes Ã© and things like that…

ex : Jetté : jettÃ©

plz help me !
