diff options
author | dgp <dgp@users.sourceforge.net> | 2014-11-15 21:46:19 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-11-15 21:46:19 (GMT) |
commit | dd3d636ee83cea5c446d72435c1bbf9e843264ec (patch) | |
tree | 856a4e1ab5f053b93224fd940ed188cc4f482e86 /doc/concat.n | |
parent | f04588b905d72636d0d4a76b907d02a4368592eb (diff) | |
download | tcl-dd3d636ee83cea5c446d72435c1bbf9e843264ec.zip tcl-dd3d636ee83cea5c446d72435c1bbf9e843264ec.tar.gz tcl-dd3d636ee83cea5c446d72435c1bbf9e843264ec.tar.bz2 |
Add to Tcl_ExternalToUtf() a capability to impose a limit on the number
of chars produce in the encoding result. When the flag
TCL_ENCODING_CHAR_LIMIT is set and dstCharsPtr is not NULL, then the
initial value of *dstCharsPtr is taken as the max number of chars to produce.
The limit is imposed in a way that does not require the assistance of the
encoding's driver procs, but the flag is passed on to them in case they
can do better when they know they should. No callers updated yet.
No drivers updated yet.
One difficulty is that this necessarily imposes a pre-translation limit,
and the I/O system has a history of wanting to impose only a post-translation
limit.
Diffstat (limited to 'doc/concat.n')
0 files changed, 0 insertions, 0 deletions