diff options
author | hobbs <hobbs> | 2006-10-05 21:24:55 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2006-10-05 21:24:55 (GMT) |
commit | f1f47d25f4c44cd2fd67dc8f46024aef942fa937 (patch) | |
tree | d6077e824e5917a9231a5f2fd44cbce8d165d195 /tests | |
parent | a06253f4cf1670e24651909046c7143319b2f2e8 (diff) | |
download | tcl-f1f47d25f4c44cd2fd67dc8f46024aef942fa937.zip tcl-f1f47d25f4c44cd2fd67dc8f46024aef942fa937.tar.gz tcl-f1f47d25f4c44cd2fd67dc8f46024aef942fa937.tar.bz2 |
* generic/tcl.h: note limitation on changing Tcl_UniChar size
* generic/tclEncoding.c (UtfToUnicodeProc, UnicodeToUtfProc):
* tests/encoding.test (encoding-16.1): fix alignment issues in
unicode <> utf conversion procs. [Bug 1122671]
Diffstat (limited to 'tests')
-rw-r--r-- | tests/encoding.test | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/encoding.test b/tests/encoding.test index 83f5f69..4e5a7fa 100644 --- a/tests/encoding.test +++ b/tests/encoding.test @@ -8,7 +8,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: encoding.test,v 1.16.2.2 2004/05/27 14:33:20 rmax Exp $ +# RCS: @(#) $Id: encoding.test,v 1.16.2.3 2006/10/05 21:24:56 hobbs Exp $ package require tcltest 2 namespace import -force ::tcltest::* @@ -307,8 +307,9 @@ test encoding-15.3 {UtfToUtfProc null character input} { } {1 2 c080} test encoding-16.1 {UnicodeToUtfProc} { - encoding convertfrom unicode NN -} "\u4e4e" + set val [encoding convertfrom unicode NN] + list $val [format %x [scan $val %c]] +} "\u4e4e 4e4e" test encoding-17.1 {UtfToUnicodeProc} { } {} |