ICU-2235 fix up charset & endianness after conversion

X-SVN-Rev: 12946
This commit is contained in:
Steven R. Loomis 2003-08-26 20:03:49 +00:00
parent 4c6a0e6a86
commit 376a4e6cba

View File

@ -221,6 +221,9 @@ udata_swapDataHeader(const UDataSwapper *ds,
}
outHeader=(DataHeader *)outData;
outHeader->info.isBigEndian = ds->outIsBigEndian;
outHeader->info.charsetFamily = ds->outCharset;
/* swap headerSize */
ds->swapArray16(ds, &pHeader->dataHeader.headerSize, 2, &outHeader->dataHeader.headerSize, pErrorCode);