summaryrefslogtreecommitdiffstats
path: root/generic/tclEncoding.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-15 17:03:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-15 17:03:37 (GMT)
commitccbe532bd4b3af5e920977a1c187220bf3d7ce27 (patch)
tree34a7f5d2a5c2b0a5c966b1a3c9c0cbd8fcd40cef /generic/tclEncoding.c
parent017838d3cf2e4ea978d2336b58604abaf8632b14 (diff)
parent2f374ff67ee30bcc15752b48e36729c583615a12 (diff)
downloadtcl-ccbe532bd4b3af5e920977a1c187220bf3d7ce27.zip
tcl-ccbe532bd4b3af5e920977a1c187220bf3d7ce27.tar.gz
tcl-ccbe532bd4b3af5e920977a1c187220bf3d7ce27.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclEncoding.c')
-rw-r--r--generic/tclEncoding.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c
index 6489ad0..5a1a1e6 100644
--- a/generic/tclEncoding.c
+++ b/generic/tclEncoding.c
@@ -2261,9 +2261,6 @@ UtfToUtfProc(
src = saveSrc;
break;
}
- if (!(flags & TCL_ENCODING_MODIFIED)) {
- ch = 0xFFFD;
- }
cesu8:
*dst++ = (char) (((ch >> 12) | 0xE0) & 0xEF);
*dst++ = (char) (((ch >> 6) | 0x80) & 0xBF);