Overview
| Artifact ID: | e4c74dce5844c8f29f8b012726cfd6a38187843ef90917294ef643c2e779282e |
|---|---|
| Ticket: | 27944a3661a5e409dead945dbc8f9e4a50033e62
Taming test utf-6.88 |
| User & Date: | jan.nijtmans on 2020-04-29 13:00:19 |
Changes
- icomment:
> Combine that expectation with the documentation: > "Tcl_UtfAtIndex ... is equivalent to calling Tcl_UtfNext index times." Just wondering .... did it ever occur to you that this documentation has been wrong always? I mean, when this documentation was written, no-one knew about overlong byte sequences or surrogates. It has been correct then, since Tcl_UtfNext() was always built upon Tcl_UtfToUniChar(). Now Tcl_UtfNext has a new implementation. If the documentation had been: "Tcl_UtfAtIndex ... is equivalent to calling Tcl_UtfToUniChar() index times.", that would be more logical, although not 100% correct either.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"