Overview
| Artifact ID: | 1200bc398aeb3e76d10926fc7c05495087dd42ec |
|---|---|
| Ticket: | f9539dce52e2dac82090760757763521b583efde
UTF-8 Source code not parsed correctly |
| User & Date: | samoc on 2014-07-10 04:05:42 |
Changes
- 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.
- login: "samoc"
- mimetype: "text/plain"