Originally posted by: MyScreen-Laks
Mike, You are right! My input file is in 16 bit character set while in the actual data it says UTF-8 and hence the map fails by trying to read 8 bit character set.
The work around is instead of reading the xml directly, I converted it into a text file and forced it to use UTF-16 and then read the converted text file as my input.
Map1: =CTEXT(myIn1,"UTF-16")
Map2: read the output text file of Map1 as input to Map2
CTEXT: The CTEXT function converts the content of a group or item object to a text item and determines the character set of the resulting text item. You can find more details in documentation----Chapter 22. Character set codes for CPACKAGE, CSERIESTOTEXT, and CTEXT
Thanks,
Laks
#DataExchange#IBMSterlingTransformationExtender#IBM-Websphere-Transformation-Extender