Tuesday, February 9, 2010

解決 amfphp 中文字串亂碼問題

In your htdocs\amfphp\gateway.php

Comment this line of code:

//$gateway->setCharsetHandler("utf8_decode", "ISO-8859-1", "ISO-8859-1");

Add this line of code:

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

No comments: