ICU-294 unicode output from rbdump

X-SVN-Rev: 868
This commit is contained in:
Steven R. Loomis 2000-03-01 00:32:56 +00:00
parent bf42bd1572
commit fa69504049

View File

@ -51,7 +51,12 @@ uprint(const UChar *s,
/* if we failed, clean up and exit */
if(U_FAILURE(*status)) goto finish;
/* output unicode characters properly */
ucnv_setFromUCallBack(converter, UCNV_FROM_U_CALLBACK_ESCAPE, status);
if(U_FAILURE(*status)) goto finish;
/* perform the conversion */
do {
/* reset the error code */