I must have my custom action to change the encoding code of message content ? Is anyway to solve this problem without to coding?
Did you set up the character encoding properly in the csv-to-xml smooks config? This would be like below:
<csv:reader ... encoding="..." />
Thank you very much for your reply! use your methord ,I have right xml data.
But I have another question:
Can i control the encoding of the csv data which I read from csv file before i make csv to xml ?
The esb read csv data to the message, this step ,can i do something ? because i print the csv data also have messy code !
the first char that also have messy code , and other data is ok !
the csv content:
the xml content:
I use .net 2010 make the csv file with UTF-8,this error happend!
But i make this csv file Manual in OS , then the data do not hava messy code !
I find that if i use UTF-8(false) to encoding the csv file ,then the data is OK.
I think that UTF-8 = UTF-8(true) in EBS, so <csv:reader ... encoding="UTF-8" /> can not be right to encode .
Thank you for sato to reply my question so kindly!