diff options
| author | apnadkarni <apnmbx-wits@yahoo.com> | 2024-08-12 09:54:34 (GMT) |
|---|---|---|
| committer | apnadkarni <apnmbx-wits@yahoo.com> | 2024-08-12 09:54:34 (GMT) |
| commit | e6f05281e8bd39e5039f70ea28f3dc1edc769b7f (patch) | |
| tree | 41b96f6e0c43e75475308ab64031a4b11aecc0b6 /tests/encoding.test | |
| parent | 549a05ca18008a890e751184ebc67635120d4b44 (diff) | |
| parent | 0d18a9948c34190d652430c87db566a2dc21ffb4 (diff) | |
| download | tcl-e6f05281e8bd39e5039f70ea28f3dc1edc769b7f.zip tcl-e6f05281e8bd39e5039f70ea28f3dc1edc769b7f.tar.gz tcl-e6f05281e8bd39e5039f70ea28f3dc1edc769b7f.tar.bz2 | |
Merged trunkcore-zipfs-consolidation
Diffstat (limited to 'tests/encoding.test')
| -rw-r--r-- | tests/encoding.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/encoding.test b/tests/encoding.test index e18e0f1..58f0956 100644 --- a/tests/encoding.test +++ b/tests/encoding.test @@ -1176,7 +1176,17 @@ test encoding-bug-66ffafd309-2-replace {Bug [66ffafd309] - invalid DBCS} -body { encoding convertfrom -profile replace jis0208 \x78\x79 } -result \uFFFD\uFFFD +test encoding-bug-201c7a3aa6-strict {Crash encoding non-BMP to iso2022} -body { + encoding convertto -profile strict iso2022 \U1f600 +} -result {unexpected character at index 0: 'U+01F600'} -returnCodes error +test encoding-bug-201c7a3aa6-replace {Crash encoding non-BMP to iso2022} -body { + encoding convertto -profile replace iso2022 \U1f600 +} -result ? + +test encoding-bug-201c7a3aa6-tcl8 {Crash encoding non-BMP to iso2022} -body { + encoding convertto -profile tcl8 iso2022 \U1f600 +} -result ? # cleanup namespace delete ::tcl::test::encoding |
