diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-06-21 09:27:00 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-06-21 09:27:00 (GMT) |
commit | 43044c4c6faa38551b3d808f7be2675b73fd67e3 (patch) | |
tree | b760cd6c40522f1fbdf5f50efcd729d5a4edc4d6 /doc | |
parent | 7c6a26e4d9ddc0871cf3c4f7c7ad86b40eb3a56b (diff) | |
parent | e715bc67dad8fd0fc152aff7a0f595f8d5fd1286 (diff) | |
download | tcl-43044c4c6faa38551b3d808f7be2675b73fd67e3.zip tcl-43044c4c6faa38551b3d808f7be2675b73fd67e3.tar.gz tcl-43044c4c6faa38551b3d808f7be2675b73fd67e3.tar.bz2 |
Fix examples, using "-translation binary" correctly in stead of "-encoding binary"
Diffstat (limited to 'doc')
-rw-r--r-- | doc/chan.n | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -892,7 +892,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 @@ -1051,7 +1051,7 @@ file384b6a8 -errorinfo {...} -errorline 1 % chan tell $f 0 -% chan configure $f -encoding binary -profile strict +% chan configure $f -translation binary % chan gets $f AÃB .CE @@ -1075,7 +1075,7 @@ file35a65a0 -errorinfo {...} -errorline 1 % chan tell $f 1 -% chan configure $f -encoding binary -profile strict +% chan configure $f -translation binary % chan read $f ÃB % chan close $f |