on 12-19-2007 7:37 PM
Dear all,
If we use XMLAnonymizerBean with anonymizer.encoding = non utf-8 encoding in a (JMS)receiver channel, will it actually change the data in XML(which it should not, but just would like to be absolutely sure) or just update the XML header from <?xml version="1.0" encoding="UTF-8" ?> to <?xml version="1.0" encoding="non utf-8 encoding" ?>
cheers
dan
Hi Chidambaram..
I do not know the exact answer for this.. but just sharing my openion.. Logically it should not alter the data in terms of content but in addition to the header change it might also change the charcters so that they are properly encoded according to this new encoding.. which should not be a data change but only the representation change.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you handle only text payloads, you're right.
But if you have binary data (byte streams), then you also need to reenconde the byte arrays for the new encoding. Hence, expect byte changes in your file (but the char representation, meaning, the string you see, should be the same).
Best regards,
Henrique.
HI Henrique,
Thanks for this. Please note that in my case, the comm channel is a receiver comm channel(data is going out of XI). So I would imagine the data is in byte, please correct me if i am wrong here. So I can use the TextCodepageConversionBean with Conversion.charset = 'non utf-8 character set' ?
cheers
dan
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.