Closed (fixed)
Project:
AMFPHP
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
12 Feb 2008 at 21:16 UTC
Updated:
12 Mar 2008 at 18:40 UTC
hi i used this screencast to connect my drupal via flex and it works, but... i have a german site and therefore it is necessary to display special chars like "Ä,ä,Ü,ü..." etc. The problem is, that in my flex app the will not displayed correctly! What can I do?
Comments
Comment #1
carlosg2 commentedI run into this problem with latin characters (áéíóú)
for now, i solve this with encodeURI() and decodeURI() to store and display the data in flex,
but im losing search capability.
Comment #2
g10 commentedfor string conversion (non-english, requires 'iconv' enabled in php, check phpinfo())
adjust 'amfphp.module' line 49
$gateway->setCharsetHandler("utf8_decode", "ISO-8859-1", "ISO-8859-1");
to
$gateway->setCharsetHandler("iconv", "UTF-8", "UTF-8");
should do the trick, but to be sure some additional reading:
http://amfphp.org/docs2/installation_gateway.html
(because it seems somehow to be important to have the database in utf-8 also)
Comment #3
carlosg2 commentedWorks perfect now.
Comment #4
marcingy commentedComment #5
JoachimVdH commented