commit: fix 7789 International/extended\ Characters in TOC Heading Truncates + Corrupts

From: Martin Sevior <msevior_at_physics.unimelb.edu.au>
Date: Thu Nov 04 2004 - 04:46:13 CET

CVS:
--------------------------------------------------------------------\--
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/af/util/xp/ut_string_class.cpp
CVS: src/af/util/xp/ut_string_class.h
CVS: src/wp/ap/xp/ap_Dialog_FormatTOC.cpp
CVS:
--------------------------------------------------------------------\--
Fix UT_UTF8String_property... methods and fix 7789
International/extended\ Characters in TOC Heading Truncates + Corrupts

This bug exposed nasty nasty bugs in the UT_UTF8String_property methods
that would have led to all sorts of other issues with non-english
documents.

I think this is all fixed now.

Basically the size() and substr(..) methods in UT_UTF8String are totally
unreliable for non-English text.

Martin
Received on Thu Nov 4 04:03:47 2004

This archive was generated by hypermail 2.1.8 : Thu Nov 04 2004 - 04:03:52 CET