Php development pos print Chinese garbled characters, please High People with guidance is core Ye xp-c230 (80mm printing), I use php development print, print English OK, Chinese will print out garbled characters, I don't know how to set the correct font.
PS, My php printing code
Reply to discussion (solution)
The landlord has sent an error.
Check the format of your file encoding.
Check the format of your file encoding.
UTF-8 without BOM format, using notepad ++ Software
You look at the manual, xp-c230 can support UTF-8 Chinese characters?
I'm afraid it can only be gbk, right?
You look at the manual, xp-c230 can support UTF-8 Chinese characters?
I'm afraid it can only be gbk, right?
The moderator is mighty. I changed it to gbk. you can do it. do you like it?
You look at the manual, xp-c230 can support UTF-8 Chinese characters?
I'm afraid it can only be gbk, right?
Can I set printing to support html code?
Difficult to set the print format
Not very clear. you should check the Printer User Manual (Programmer Manual)
After searching, there are a lot of entries for this printer, and there may be articles such as tips.
Not very clear. you should check the Printer User Manual (Programmer Manual)
After searching, there are a lot of entries for this printer, and there may be articles such as tips.
I haven't found any tips, but the Programmer's Manual does. if it weren't for your help, I guess I still don't know when to solve this garbled problem. I have no answer to this question after searching for a long time on the Internet (garbled question)