aboutsummaryrefslogtreecommitdiff
path: root/test/backcompat.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/backcompat.test')
-rw-r--r--test/backcompat.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/backcompat.test b/test/backcompat.test
index 87ffc4b3e..d477d4466 100644
--- a/test/backcompat.test
+++ b/test/backcompat.test
@@ -112,7 +112,7 @@ proc read_file {zFile} {
set zData {}
if {[file exists $zFile]} {
set fd [open $zFile]
- fconfigure $fd -translation binary -encoding binary
+ fconfigure $fd -translation binary
if {[file size $zFile]<=$::sqlite_pending_byte || $zFile != "test.db"} {
set zData [read $fd]
@@ -129,7 +129,7 @@ proc read_file {zFile} {
}
proc write_file {zFile zData} {
set fd [open $zFile w]
- fconfigure $fd -translation binary -encoding binary
+ fconfigure $fd -translation binary
puts -nonewline $fd $zData
close $fd
}