summaryrefslogtreecommitdiffstats
path: root/tests/io.test
diff options
context:
space:
mode:
authorpooryorick <com.digitalsmarties@pooryorick.com>2023-04-17 22:01:17 (GMT)
committerpooryorick <com.digitalsmarties@pooryorick.com>2023-04-17 22:01:17 (GMT)
commit6f003899fecfb7886609e740a4539109cc92144c (patch)
treedd215184b4d63c38fd6c99cd61b43a1721207dc5 /tests/io.test
parent75f7e5328ad3f05b450b89ff6f480264055b8eff (diff)
downloadtcl-6f003899fecfb7886609e740a4539109cc92144c.zip
tcl-6f003899fecfb7886609e740a4539109cc92144c.tar.gz
tcl-6f003899fecfb7886609e740a4539109cc92144c.tar.bz2
Make encoding profile explicit in some tests.
Diffstat (limited to 'tests/io.test')
-rw-r--r--tests/io.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/io.test b/tests/io.test
index 764c776..6ded150 100644
--- a/tests/io.test
+++ b/tests/io.test
@@ -1620,7 +1620,7 @@ test io-12.9 {ReadChars: multibyte chars split} -body {
puts -nonewline $f [string repeat a 9]\xC2
close $f
set f [open $path(test1)]
- fconfigure $f -encoding utf-8 -buffersize 10
+ fconfigure $f -encoding utf-8 -profile tcl8 -buffersize 10
set in [read $f]
close $f
scan [string index $in end] %c