fix encoding in printable