diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-06-21 09:30:15 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-06-21 09:30:15 (GMT) |
commit | 5c63c6eb30dfa81bbcc4c5bc99270196cdb1ed08 (patch) | |
tree | b02bb39111ae2ce8f56b1b96cbdd4570c64c1541 | |
parent | 3766d5bd6891d6cd0dda171a9e56d6ae69a7778f (diff) | |
parent | 43044c4c6faa38551b3d808f7be2675b73fd67e3 (diff) | |
download | tcl-5c63c6eb30dfa81bbcc4c5bc99270196cdb1ed08.zip tcl-5c63c6eb30dfa81bbcc4c5bc99270196cdb1ed08.tar.gz tcl-5c63c6eb30dfa81bbcc4c5bc99270196cdb1ed08.tar.bz2 |
Fix examples, using "-translation binary" correctly in stead of "-encoding binary"
-rw-r--r-- | doc/chan.n | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -879,7 +879,7 @@ proc GetData {chan} { } } -chan configure $chan -blocking 0 -encoding binary +chan configure $chan -blocking 0 -translation binary \fBchan event\fR $chan readable [list GetData $chan] .CE .PP @@ -1038,7 +1038,7 @@ file384b6a8 -errorinfo {...} -errorline 1 % chan tell $f 0 -% chan configure $f -encoding binary +% chan configure $f -translation binary % chan gets $f AÃB .CE @@ -1062,7 +1062,7 @@ file35a65a0 -errorinfo {...} -errorline 1 % chan tell $f 1 -% chan configure $f -encoding binary +% chan configure $f -translation binary % chan read $f ÃB % chan close $f |