# AS=\>PHP=DataBase encoding problem

**URL:** <https://forum.kirupa.com/t/as-php-database-encoding-problem/142908>\
**Category:** Uncategorized\
**Created:** [April 1, 2005, 12:22pm UTC](https://forum.kirupa.com/t/as-php-database-encoding-problem/142908 "2005-04-01T12:22:33Z")\
**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:** [April 1, 2005, 12:22pm UTC](https://forum.kirupa.com/t/as-php-database-encoding-problem/142908/1 "2005-04-01T12:22:33Z")

</div>

hello,

I have on my website a formular which sends its data to my database via a pho script.

everything works fine except for words like “ù à è é …” french and german letters like ü ä…etc

I tried to encode the data with rawurlencode or utf8\_encode but still the same prob, the database can’t read the letters ü,é,à…etc

is it possible to encode the data within AS? it seems to me the only solution…or not? :ponder:

something else, I ha ve a php script which takes from my DB data containing letters like é,è…etc…and before sending it to AS I encode it with utf8\_encode and this wokrs really fine.

any suggestions?
