Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2025-06-25
11:58 • Closed ticket [ecafd8611d]: Euro/Tail-sign missing from cp864 encoding plus ... artifact: 325849cc5b user: jan.nijtmans
11:51
Fix [ecafd8611d]: Euro/Tail-sign missing from cp864 encoding check-in: 60981196db user: jan.nijtmans tags: core-8-6-branch
11:15
Fix [ecafd8611d]: Euro/Tail-sign missing from cp864 encoding check-in: 089e9b68cd user: jan.nijtmans tags: core-9-0-branch
11:11 • Ticket [ecafd8611d] Euro/Tail-sign missing from cp864 encoding status still ... artifact: 5a42b7f9e3 user: jan.nijtmans
09:38
Fix [ecafd8] Euro-sign missing from cp864 encoding check-in: 721d9e6398 user: jan.nijtmans tags: core-8-6-branch
2025-06-24
16:14 • Ticket [ecafd8611d] Euro-sign missing from cp864 encoding status still Open ... artifact: a6c33abdca user: jan.nijtmans
16:03 • Ticket [ecafd8611d]: 3 changes artifact: c4a43d9b31 user: apnadkarni
15:01 • Ticket [ecafd8611d]: 3 changes artifact: 6c32530a2c user: jan.nijtmans
14:54
Fix [ecafd8611d]: Euro-sign missing from cp864 encoding. While on it, add cp165 which is very simila... check-in: 7dd57ba178 user: jan.nijtmans tags: bug-ecafd8611d
14:51 • New ticket [ecafd8611d] Euro-sign missing from cp864 encoding. artifact: 8ec3f70ac2 user: jan.nijtmans

Euro/Tail-sign missing from cp864 encoding

Closed / Fixedecafd8611dd7665a6376c9c35b092d7d1a8e61c8Created 1 year agoUpdated 1 year ago
Descriptionwiki2025-06-24 14:51:15
Example:
$ tclsh9.0
% scan [encoding convertfrom cp864 \xA7] %c
unexpected byte sequence starting at index 0: '\xA7'

According to Wikipedia, the EURO-sign was assigned to this code point in 1999

Referenced by3
  • 60981196dbFix [ecafd8611d]: Euro/Tail-sign missing from cp864 encoding check-in2025-06-25 11:51:09
  • 089e9b68cdFix [ecafd8611d]: Euro/Tail-sign missing from cp864 encoding check-in2025-06-25 11:15:53
  • 7dd57ba178Fix [ecafd8611d]: Euro-sign missing from cp864 encoding. While on it, add cp165 which is very similar to cp864 check-in2025-06-24 14:54:48
jan.nijtmanswiki2025-06-24 15:01:18

Proposed fix [here]

While on it, add cp165 which is very similar to cp864

apnadkarniplain2025-06-24 16:03:38
Are the .enc files supposed to be generated using the txt2enc.c tool or manually edited? I was under the assumption the former.
jan.nijtmanswiki2025-06-24 16:14:37

The latest encoding source file for cp864 is here, it isn't updated for the EURO character.

Therefore, it's just as good to hand-edit the .enc-file: It never will be re-generated. And if someone does, the failing testcase will detect the problem.

There are some more .enc-file which were hand-edited after generation.

jan.nijtmanswiki2025-06-25 11:11:55

Just discovered that the arabic tail sign (ﹳ) was missing as well. The reason is that this code entry was introduced in Unicode 3.2, which didn't exist yet at the time. Fixed that too.

jan.nijtmanswiki2025-06-25 11:58:06

Fixed [here]

Log in (anonymous is fine) to add a comment.