summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--changes8
-rwxr-xr-xlibrary/encoding/cp165.enc20
-rw-r--r--library/encoding/cp864.enc2
-rw-r--r--tests/encoding.test8
4 files changed, 35 insertions, 3 deletions
diff --git a/changes b/changes
index 1a6d2bb..327a4bf 100644
--- a/changes
+++ b/changes
@@ -9391,6 +9391,12 @@ Many code fixes to avoid overflow or undefined behavior. Thanks chrstphrchvz.
2025-03-23 tzdata updated to Olson's tzdata2025b (nijtmans)
-2025-04-1 (bug) [fd8341] Tcl_InitStubs compatibility for 9.1, better error-handling (nijtmans)
+2025-04-01 (bug) [fd8341] Tcl_InitStubs compatibility for 9.1, better error-handling (nijtmans)
2025-05-05 (bug) [42d14c] Fix scan with long mantissa. Ex.: scan "1.[string repeat 1 191]e-321" %g
+
+2025-06-18 (bug) [4f338b] add missing Tcl_CloseEx docs (nadkarni)
+
+2025-06-24 (bug) [ecf35c] Correct nested handling of return option -options (porter)
+
+2025-06-25 (bug) [ecafd8] Euro-sign missing from cp864 encoding (nijtmans)
diff --git a/library/encoding/cp165.enc b/library/encoding/cp165.enc
new file mode 100755
index 0000000..83ac442
--- /dev/null
+++ b/library/encoding/cp165.enc
@@ -0,0 +1,20 @@
+# Encoding file: cp165, single-byte
+S
+003F 0 1
+00
+0000000100020003000400050006000700080009000A000B000C000D000E000F
+0010001100120013001400150016001700180019001A001B001C001D001E001F
+00200021002200230024066A0026002700280029002A002B002C002D002E002F
+0030003100320033003400350036003700380039003A003B003C003D003E003F
+0040004100420043004400450046004700480049004A004B004C004D004E004F
+0050005100520053005400550056005700580059005A005B005C005D005E005F
+0060006100620063006400650066006700680069006A006B006C006D006E006F
+0070007100720073007400750076007700780079007A007B007C007D007E007F
+00B000B72219221A259225002502253C2524252C251C25342510250C25142518
+03B2221E03C600B100BD00BC224800AB00BBFEF7FEF8FEF9FEFAFEFBFEFC009F
+00A000ADFE8200A300A4FE84FE87FE88FE8EFE8FFE95FE99060CFE9DFEA1FEA5
+0660066106620663066406650666066706680669FED1061BFEB1FEB5FEB9061F
+00A2FE80FE81FE83FE85FECAFE8BFE8DFE91FE93FE97FE9BFE9FFEA3FEA7FEA9
+FEABFEADFEAFFEB3FEB7FEBBFEBFFEC1FEC5FECBFECF00A600AC00F700D7FEC9
+0640FED3FED7FEDBFEDFFEE3FEE7FEEBFEEDFEEFFEF3FEBDFECCFECEFECDFEE1
+FE7D0651FEE5FEE9FEECFEF0FEF2FED0FED5FEF5FEF6FEDDFED9FEF125A000A0
diff --git a/library/encoding/cp864.enc b/library/encoding/cp864.enc
index 71f9e62..e2a9e6e 100644
--- a/library/encoding/cp864.enc
+++ b/library/encoding/cp864.enc
@@ -12,7 +12,7 @@ S
0070007100720073007400750076007700780079007A007B007C007D007E007F
00B000B72219221A259225002502253C2524252C251C25342510250C25142518
03B2221E03C600B100BD00BC224800AB00BBFEF7FEF8009B009CFEFBFEFC009F
-00A000ADFE8200A300A4FE8400000000FE8EFE8FFE95FE99060CFE9DFEA1FEA5
+00A000ADFE8200A300A4FE84000020ACFE8EFE8FFE95FE99060CFE9DFEA1FEA5
0660066106620663066406650666066706680669FED1061BFEB1FEB5FEB9061F
00A2FE80FE81FE83FE85FECAFE8BFE8DFE91FE93FE97FE9BFE9FFEA3FEA7FEA9
FEABFEADFEAFFEB3FEB7FEBBFEBFFEC1FEC5FECBFECF00A600AC00F700D7FEC9
diff --git a/tests/encoding.test b/tests/encoding.test
index 93a52aa..46f3b15 100644
--- a/tests/encoding.test
+++ b/tests/encoding.test
@@ -310,6 +310,12 @@ test encoding-12.5 {LoadTableEncoding: symbol encoding} {
test encoding-12.6 {LoadTableEncoding: overflow in char value} ucs2 {
encoding convertto iso8859-3 \U010000
} ?
+test encoding-12.7 {cp864 [ecafd8611d]} {
+ scan [encoding convertfrom cp864 \xA7] %c
+} 8364
+test encoding-12.8 {cp165 [ecafd8611d]} {
+ scan [encoding convertfrom cp165 \xA7] %c
+} 65160
test encoding-13.1 {LoadEscapeTable} {
viewable [set x [encoding convertto iso2022 ab\u4E4E\u68D9g]]
@@ -735,7 +741,7 @@ test encoding-28.0 {all encodings load} -body {
llength $name
}
return $count
-} -result 85
+} -result 86
runtests