Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1200bc398aeb3e76d10926fc7c05495087dd42ec
Ticket: f9539dce52e2dac82090760757763521b583efde
UTF-8 Source code not parsed correctly
User & Date: samoc on 2014-07-10 04:05:42
Changes

  1. icomment:
    It seems (after following the source code from Tcl_SourceObjCmd() all the way through to Tcl_UniCharToUtf()) that "#define TCL_UTF_MAX 3" in tcl.h is the problem.
    
    At the very least there should either be very noticeable warnings in the documentation that say that "UTF-8 is not fully supported and your valid UTF-8 data may be silently corrupted" or there should be an error thrown when a valid UTF-8 character is encountered that is not supported.
    
  2. login: "samoc"
  3. mimetype: "text/plain"