Solution for non ISO-8859-1 languages

Last modified: August 17, 2007 - 18:41

This short tutorial is just a sub page of the "Accessing a service from Flash 8". It might be interesting for those who is trying to pass some data from drupal database to the flash and data is not in ISO-8859-1 encoding.

The solution is very easy (at least it worked for me).

You should open amfphp.module file and find $gateway->setCharsetHandler("utf8_decode", "ISO-8859-1", "ISO-8859-1");

and replace with

$gateway->setCharsetHandler("iconv", "UTF-8", "UTF-8");

That's it!

 
 

Drupal is a registered trademark of Dries Buytaert.