diff options
author | pooryorick <com.digitalsmarties@pooryorick.com> | 2023-01-25 02:52:24 (GMT) |
---|---|---|
committer | pooryorick <com.digitalsmarties@pooryorick.com> | 2023-01-25 02:52:24 (GMT) |
commit | ca4e244cca3e93fb8689fe1cef85954da16ff989 (patch) | |
tree | c2321e196bba19f06f9a2cd1fd815c24210acc78 /generic | |
parent | c18f5f7f8caa27fa6dc03bd79a4136391cad620f (diff) | |
download | tcl-ca4e244cca3e93fb8689fe1cef85954da16ff989.zip tcl-ca4e244cca3e93fb8689fe1cef85954da16ff989.tar.gz tcl-ca4e244cca3e93fb8689fe1cef85954da16ff989.tar.bz2 |
Test TableFromUtfProc() with strict handling of encoding errors.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclEncoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c index d10d9ca..5ba7763 100644 --- a/generic/tclEncoding.c +++ b/generic/tclEncoding.c @@ -3199,7 +3199,7 @@ TableFromUtfProc( word = fromUnicode[(ch >> 8)][ch & 0xFF]; if ((word == 0) && (ch != 0)) { - if ((STOPONERROR) && (flags & TCL_ENCODING_CHAR_LIMIT)) { + if ((STOPONERROR)) { result = TCL_CONVERT_UNKNOWN; break; } |