summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
Diffstat (limited to 'library')
-rw-r--r--library/print.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/print.tcl b/library/print.tcl
index 5908b41..3319306 100644
--- a/library/print.tcl
+++ b/library/print.tcl
@@ -830,7 +830,7 @@ if {[tk windowingsystem] eq "x11"} {
lappend printargs -P $printer
# open temp file
set fd [file tempfile fname tk_print]
- chan configure $fd -encoding binary -translation binary
+ chan configure $fd -translation binary
chan puts $fd $data
chan close $fd
# add -r to automatically delete temp files