summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcsaba <csaba>2024-07-31 09:52:20 (GMT)
committercsaba <csaba>2024-07-31 09:52:20 (GMT)
commit83ba9e91932f82eb033d14cdfd3eede0dec15e61 (patch)
tree390f1600f4b16aa1dee72c7dfdd15a89f58b9d88
parent36ede1dd0d1bd3eca91633344b9077144ad8940e (diff)
downloadtk-83ba9e91932f82eb033d14cdfd3eede0dec15e61.zip
tk-83ba9e91932f82eb033d14cdfd3eede0dec15e61.tar.gz
tk-83ba9e91932f82eb033d14cdfd3eede0dec15e61.tar.bz2
Removed "-encoding binary" from library/print.tcl.
-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