summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-09-13 20:06:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-09-13 20:06:39 (GMT)
commit30983dad6f4e062faeb8bebbfe3a5a0e62f2d9f8 (patch)
treea987a59db940aeb1b1cb6bad5906245d9f76c06d /tests
parentdfa2b92acec26c1eff9f3e9476d6b0c4042064b9 (diff)
downloadtcl-30983dad6f4e062faeb8bebbfe3a5a0e62f2d9f8.zip
tcl-30983dad6f4e062faeb8bebbfe3a5a0e62f2d9f8.tar.gz
tcl-30983dad6f4e062faeb8bebbfe3a5a0e62f2d9f8.tar.bz2
Fix [63325009a8]: \u0400 conversion to and from cesu-8 fails.
Diffstat (limited to 'tests')
-rw-r--r--tests/encoding.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/encoding.test b/tests/encoding.test
index 86831b2..45b5125 100644
--- a/tests/encoding.test
+++ b/tests/encoding.test
@@ -471,6 +471,9 @@ test encoding-15.31 {UtfToUtfProc -profile strict CESU-8 (bytes F0-F4 are invali
test encoding-15.32 {UtfToUtfProc CESU-8 [2f22a7364d]} -body {
encoding convertto cesu-8 \U1f600
} -result \xED\xA0\xBD\xED\xB8\x80
+test encoding-15.33 {UtfToUtfProc CESU-8 [63325009a8]} -body {
+ encoding convertto utf-8 \u0400
+} -result \xD0\x80
test encoding-16.1 {Utf16ToUtfProc} -body {
set val [encoding convertfrom utf-16 NN]