Author: Jan Nijtmans <jan.nijtmans@gmail.com>
State: Final
Type: Project
Vote: Done
Tcl-Version: 8.7
Tcl-Branch: tip-617
Vote-Summary: Accepted 3/0/2
Votes-For: JN, MC, KW
Votes-Against: none
Votes-Present: FV, SL
Abstract
This TIP proposes to extend the Tcl API with 2 new functions: Tcl_WCharLen
/Tcl_Char16Len
Specification
This functions do about the same as Tcl_UniCharLen
, which was earlier marked as deprecated
TIP #542. However, it is used in tDOM, and - in fact -
simple enough to be provided. Since TIP #542 provides Char16
/WChar
versions of many UTF-8-related functions, this one should be handled the same for consistency.
Implementation
Implementation is in Tcl branch "tip-617"
Compatibility
This is 100% upwards compatible with Tcl 8.6.
Copyright
This document has been placed in the public domain.