diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-05-09 18:36:44 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-05-09 18:36:44 +0000 |
commit | e54a1378ed622ce9a27fe77df89d32fbd17373ab (patch) | |
tree | a615fdf7f3c468cd3b206decf58bcf436458e469 /cpp/test/IceUtil/unicode/Client.cpp | |
parent | Fixed compile error (diff) | |
download | ice-e54a1378ed622ce9a27fe77df89d32fbd17373ab.tar.bz2 ice-e54a1378ed622ce9a27fe77df89d32fbd17373ab.tar.xz ice-e54a1378ed622ce9a27fe77df89d32fbd17373ab.zip |
Fixed bug 965
Diffstat (limited to 'cpp/test/IceUtil/unicode/Client.cpp')
-rw-r--r-- | cpp/test/IceUtil/unicode/Client.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/test/IceUtil/unicode/Client.cpp b/cpp/test/IceUtil/unicode/Client.cpp index 36be8580fd4..0885af27dd8 100644 --- a/cpp/test/IceUtil/unicode/Client.cpp +++ b/cpp/test/IceUtil/unicode/Client.cpp @@ -45,6 +45,8 @@ main(int, char**) { string line; getline(is, line, '\n'); + test(isLegalUTF8Sequence(reinterpret_cast<const Byte*>(line.data()), + reinterpret_cast<const Byte*>(line.data() + line.size()))); lineNumber++; wstring wline = stringToWstring(line); |