您的位置:首页 > 编程语言 > PHP开发

php zend framework 生成 pdf 出现中文乱码

2010-11-24 10:38 591 查看
change your php document encoding to 'ANSI'

for example: you can rename your php document to txt document,

and open your txt document,and save as to ANSI

another way:

you can use a function in php 5.0

iconv('UTF-8','GBK','中文')

that's mean change ‘中文’ encoding 'UTF-8' to 'GBK'

it's easy to use this function before you want to change chinese encoding.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: