Hello Larsen,
I have tired out all those but same result thank you very much for the guidance. Now I have identified the problem is on the server side and not in the view.
I realize that by trying to save the b
yte array obtain from the File into an xml file in jboss tmp folder and it
contains the correct Unicode.
In my scenario the uploaded file is straight away sent to a message queue to be processed by an MDB. So the flow is as follow:
Upload the XML ---> Obtain the byte[] from the file ---> put it on a JMS queue ---> picked by a MDB to process
When the posted Message is cast to a TextMessage and process, the Unicode is been incorrectly converted.
Is there is any specific configuration I have to do in the JMS queue in order to convert it to the correct Unicode?
Isuru Chamarasinghe.
BIT (C.Sturt), SCJP, SCWCD, SCBCD, A+, OCA