Tcl Source Code

View Ticket
Login
Ticket UUID: f45d0dc1a752936ea42af1a02d54cbadba1a5f21
Title: Tcl_UniCharAtIndex is not used in the Tcl core, and has no test-cases
Type: Bug Created on: 2020-04-26 13:14:38
Submitter: jan.nijtmans Assigned to: dgp
Subsystem: 44. UTF-8 Strings Severity: Minor
Priority: 5 Medium Last modified: 2020-04-26 15:40:56
Status: Open Closed by: nobody
Resolution: None Closed on:
Version:
Description:
So, Don, I wonder how you tested your modified version of Tcl_UniCharAtIndex() ....   :-)
User Comments:
jan.nijtmans added on 2020-04-26 15:39:47:

Commit [f45d0dc1a7] proves this.

Not sure what to do with it. Write test-cases? Deprecate this function? (Since it's not really useful, and can be implemented easily as Tcl_UtfToUniChar(Tcl_UtfAtIndex(....)).


jan.nijtmans added on 2020-04-26 15:40:56:

I meant: Commit [90be2283d0265e05] proves thiss.