summaryrefslogtreecommitdiffstats
path: root/generic/tclEncoding.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-15 17:07:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-15 17:07:07 (GMT)
commit55f5b1c3506c8460a36e62c977c9bcbabc90c4d6 (patch)
tree4c01ab102847babe5336d11432f809e909056ff8 /generic/tclEncoding.c
parenta4d601c42a5294611e2a71df75444505b6ece484 (diff)
parent2f374ff67ee30bcc15752b48e36729c583615a12 (diff)
downloadtcl-55f5b1c3506c8460a36e62c977c9bcbabc90c4d6.zip
tcl-55f5b1c3506c8460a36e62c977c9bcbabc90c4d6.tar.gz
tcl-55f5b1c3506c8460a36e62c977c9bcbabc90c4d6.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 3d0225b..5e2ef39 100644
--- a/generic/tclEncoding.c
+++ b/generic/tclEncoding.c
@@ -2421,9 +2421,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);