# Php to AS! something strange

**URL:** <https://forum.kirupa.com/t/php-to-as-something-strange/141268>\
**Category:** Uncategorized\
**Created:** [March 18, 2005, 8:17am UTC](https://forum.kirupa.com/t/php-to-as-something-strange/141268 "2005-03-18T08:17:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bmerens](https://avatars.discourse-cdn.com/v4/letter/b/43a26b/32.png) [@bmerens](https://forum.kirupa.com/u/bmerens)\
**Post date:** [March 18, 2005, 8:17am UTC](https://forum.kirupa.com/t/php-to-as-something-strange/141268/1 "2005-03-18T08:17:59Z")

</div>

hy,

I have in my database a field with a german character : " Häuser " .I enter this field directly into the database via mysql manager

printing the mysql\_query returns the correct field : " Häuser "

but when I try to send the information to AS, the letter “ä” is not recognized.

I tried the following solutions :

1. var\_for\_AS=rawurlencode(“Häuser”);  
and send the var\_for\_AS to AS : no change, the ä is not recognized (=\> it gets something like a small cube)

2. rawurlencode(“Häuser”); is something like h%E4user  
I did a copy/paste directly into the database field  
=\> nothing changed, AS prints a small cube

3. I tried Stripslashes but it doesn’t make any sense because the data is added directly into the database and not via a php script.

so, there is no ADDSLASHES, and STRIPSLASHES doesn’t make any sense

HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP

Conclusion :  
I add the data directly into the database and not via a php script  
php prints the correct word : " Häuser "  
but AS can’t read the " ä "

I don’t know what to do now !!! HELP 🔗

thanks for your help
