Index: ut_mbtowc.cpp =================================================================== RCS file: /cvsroot/abi/src/af/util/xp/ut_mbtowc.cpp,v retrieving revision 1.18 diff -u -r1.18 ut_mbtowc.cpp --- ut_mbtowc.cpp 2001/05/20 12:50:18 1.18 +++ ut_mbtowc.cpp 2001/05/23 01:47:47 @@ -275,8 +275,10 @@ m_bufLen = 0; return 1; } else { - if (errno==EINVAL) + if (errno==EINVAL) { + UT_iconv_reset(cd); /* reset iconv, pointer might be messed up. */ return 0; /* need more chars */ + } else { initialize();/*wrong seq*/ return 0;