we're having this toshiba barcode printer. I'm not sure whether this problem is hardware or php related.
When we send a ° (degree-sign) it prints a € (euro-sign).
I also tried brute-forcing iconv():
$a = array("UTF-8", "ASCII", "Windows-1252", "ISO-8859-15", "ISO-8859-1", "ISO-8859-6", "CP1256", "cp850");
foreach ($a as $enc){
if (@fputs($fp, iconv('UTF-8', $enc, $r)) === false) {开发者_StackOverflow ...and so on
without any success!
Is anyone familiar with this issue who can help me solve it?
Okay the problem had been two fold:
- The font we were using isn't capable of the degree sign
- The codepage of the printer had to be switched to utf-8
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论