Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"The £ is printed just fine on some parts of the receipt!"

That's probably a hint that it isn't the printers fault.

I would guess that some other system that is used to enter what's available on the menu is using CP 437 and somewhere an encoding step (CP 437 to Unicode) is missing so we get the ú character.

I wonder what character we would get if it was a "5€ cocktail" instead.



I suspect the cause is that the £-sign on the right-hand side is "hardcoded" as part of the receipt and sent correctly (using CP 437), whereas the name of items probably accepts input as unicode and then the printer assumes it's CP 437 (because who needs more than basic A-Z + numbers for names, right?)


Yes. I'd say this points more to an issue with how the product name was stored in a database, rather than the printer itself.

Bad collation.


Bad collation? That just changes alphabetical order, no?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: