Index: src/af/util/xp/ut_iconv.cpp =================================================================== RCS file: /cvsroot/abi/src/af/util/xp/ut_iconv.cpp,v retrieving revision 1.5 diff -u -2 -r1.5 ut_iconv.cpp --- src/af/util/xp/ut_iconv.cpp 2001/06/25 16:53:27 1.5 +++ src/af/util/xp/ut_iconv.cpp 2001/07/06 20:25:47 @@ -85,5 +85,5 @@ */ extern "C" -bool UT_convert(const char* str, +char *UT_convert(const char* str, UT_uint32 len, const char* to_codeset, @@ -94,5 +94,5 @@ if (!str || !to_codeset || !from_codeset) { - return 0; + return NULL; } @@ -198,4 +198,4 @@ } - return have_error; + return have_error?NULL:pDest; } Index: src/af/util/xp/ut_iconv.h =================================================================== RCS file: /cvsroot/abi/src/af/util/xp/ut_iconv.h,v retrieving revision 1.4 diff -u -2 -r1.4 ut_iconv.h --- src/af/util/xp/ut_iconv.h 2001/06/21 16:33:30 1.4 +++ src/af/util/xp/ut_iconv.h 2001/07/06 20:25:47 @@ -49,5 +49,5 @@ int UT_iconv_close( UT_iconv_t cd ); -bool UT_convert (const char *str, +char * UT_convert (const char *str, UT_uint32 len, const char *to_codeset,