Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 82a0d025c2851c5d3f0f614ff97172bb621d34dc67cddeccd72c088ac3f8aad6
Ticket: 81242a48c80efaecf2c70271cafa2c2a0a3bf126
Documentation for Tcl_UtfAtIndex() is incorrect
User & Date: jan.nijtmans on 2020-05-12 14:11:21
Changes

  1. icomment:
    Another indication, why the documentation of Tcl_UtfAtIndex() is incorrect, can be seen in the very very first version of tclUtf.c, checked in by Scott Stanton ([https://core.tcl-lang.org/tcl/artifact?ln=670-681&name=3f7d7e0b3e21d37f]) in 1999.  It has always been implemented as repeated calls to Tcl_UtfToUniChar(), not Tcl_UtfNext().
    
    B.T.W. This documentation has been wrong since the first commit of doc/Utf.3 as well.
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"