# Zendamf not handling special character data

**URL:** <https://forum.kirupa.com/t/zendamf-not-handling-special-character-data/289418>\
**Category:** programming\
**Created:** [May 30, 2009, 12:16am UTC](https://forum.kirupa.com/t/zendamf-not-handling-special-character-data/289418 "2009-05-30T00:16:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sideDoor](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@sideDoor](https://forum.kirupa.com/u/sideDoor)\
**Post date:** [May 30, 2009, 12:16am UTC](https://forum.kirupa.com/t/zendamf-not-handling-special-character-data/289418/1 "2009-05-30T00:16:35Z")

</div>

There seems to be an issue passing special character values via Zendamf:

While querying a database that returns data including French-text characters (ie: Québec), the result returned from Zendamf is not handling the special characters (ie: instead of Québec, we receive Qu�c).

I’ve checked the output of the data via Php: the issue is not with the database result - the characters are returned correctly from the database to the Php result-set - I am able to print these characters correctly before they are sent through Zendamf, either by rendering them from Php to a Browser via echo or by writing them to a log file.

However, once I plug the SQL result into an object and pass it to Zendamf, the special characters get mangled. Using Charles Web Debugging Proxy, I can see that the result values are mangled before they are passed back to my AS3 application.

I’ve tested this both locally and on a production server, using the most current libraries. I’m uncertain if there is a setting that would clear-up this issue…

Anyone else dealt with this issue? Thank you!
