qzindustries / qz-print

Free browser applet for sending documents and raw commands to a printer.
Other
49 stars 4 forks source link

Greek chars in printHTML function. #42

Closed deliverymanager closed 9 years ago

deliverymanager commented 10 years ago

Setting the encoding to CP737 doesn't seem to be possible to print Greek chars. qz.setEncoding("CP737"); Has anyone been able to print Greek or other language than English with the printHTML function?

tresf commented 10 years ago

According to stackoverflow, the basic HTML support that comes with Java seems to support HTML 3.2.

I'm not certain as to the validity if this statement, but I believe this limits you to Latin1 for character support, further explained here:

http://www.w3.org/TR/REC-html32.html

I believe this means the closest you will get is to force ISO-8859-1.

tresf commented 9 years ago

Closing as this is a bug with Java's HTML interpreter, not our software. If interested, please try our HTML5 printing feature which will circumvent the issue.