From: <php...@li...> - 2012-04-24 06:33:31
|
Thanks. I use iconv function to the parameter and it works well. iconv('GBK','UTF-8',$parameter) ------------------ 原始邮件 ------------------ 发件人: "php-java-bridge-users"<php...@li...>; 发送时间: 2012年4月24日(星期二) 下午2:28 收件人: "php-java-bridge-users"<php...@li...>; 主题: Re: [Php-java-bridge-users] about Chinese parameter encode Hi. Please set the java back end to utf 8 (or 16) and save the php file in the same format. Use the java_set_file_encoding() function, if necessary. I think earlier versions contained a bug when getbytes(<enc>) was called. Please check the changelog and NEWS file of your version (part of the source download). However, using the same encoding at both ends should fix it. Regards, Jost B?kemeier ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |