on 10-02-2008 4:26 PM
I wonder if Xcelsius works in UTF-8 or in ISO-8859-1...
Let me explain how we work :
- we put a "input text" component on the canvas
- the value from the component is inserted into a cell of the Excel spreadsheet
- the value is transmitted from the SWF to a JSP page (through the GET method with the URL button component)
When the value has special characters like é, à or ç... it does not display well in the JSP page.
I try to convert to UTF-8, to ISO-8859-1... but still I am not able to keep the characters correct from start to end.
Thanks for your help.
Hi Xavier,
Not sure if your problem solved.
I am now facing the same problem you stated here. Sending some special characters like ห�?�?วย to JSP page but then cannot convert to proper charset.
Do you have any update on your post here?
Would appreciate if you can comment your workaround.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arijit,
Thanks for your response.
I have tried and applied some further statements from your suggestion, and it works!
Here is what I did:
Set request encoding to ISO-8859-1 by request.setCharacterEncoding("ISO-8859-1");
Convert string from ISO-8859-1 to UTF-8 using new String(sContent.getBytes("ISO-8859-1"), "UTF-8");
And then write to output file using new BufferedWriter(new OutputStreamWriter(new FileOutputStream(strFile), "UTF-8"));
Thanks again!
Cheers.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.