diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-08-30 13:00:32 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-08-30 13:00:32 (GMT) |
commit | d84492f3906d20d05b547a4fa90286fe0a59bb37 (patch) | |
tree | cfec5955da6f587fe00bd8471120c07add91560c /win/tclWinChan.c | |
parent | a6063330c474dde9b388bfeda1b1bb746aebf23a (diff) | |
download | tcl-d84492f3906d20d05b547a4fa90286fe0a59bb37.zip tcl-d84492f3906d20d05b547a4fa90286fe0a59bb37.tar.gz tcl-d84492f3906d20d05b547a4fa90286fe0a59bb37.tar.bz2 |
Don't ever allow UTF-8 sequences of more than 4 characters to be generated or parsed, even when TCL_UTF_MAX>4: According to current Unicode standard, a byte string of >4 characters can never form a single UTF-8 character.
And a few minor micro-optimizations related to UTF-8 handling.
Diffstat (limited to 'win/tclWinChan.c')
0 files changed, 0 insertions, 0 deletions