Home  >  Article  >  Backend Development  >  php开发 pos打印中文乱码,求圣人指点下

php开发 pos打印中文乱码,求圣人指点下

WBOY
WBOYOriginal
2016-06-13 11:53:161008browse

php开发 pos打印中文乱码,求高人指点下

本帖最后由 liugongjian 于 2014-04-01 09:29:31 编辑 用的是芯烨的xp-c230 (80mm打印),我用php开发打印,打印英文OK,中文会打印出乱码, 不知怎么设置正确的字体,求高人指点

PS,我的php打印代码

------解决方案--------------------
看下你的文件编码是什么格式的 
------解决方案--------------------
你看看说明书,xp-c230 能支持 utf-8 汉字吗?
恐怕只能是 gbk 吧?
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn