03-27-2006 12:41 PM - edited 02-04-2024 2:27 AM
Hi,
In my action class, the request parameter "characterEncoding" is set to "ISO-8859-1".
Where did this value come from and how can I change this value?
Regards,
Roman Babkin
Hi Roman,
The ISO-8859-1 is default encoding for ASCII characters. In case you want to display some PDF or Word data, character encoding has to be for byte data.
Regards,
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
thank you for your attention.
When data is PDF, there is no problem.
I display HTML data in "Windows-1251" charset, for this, I set up the content type to
"text/html; charset=windows-1251". When an application runs, I see correct symbols, but when I view the source code of HTML, there is "ISO-8859-1" charset.
When I save HTML and open it again, symbols became incorrect.
To correct this error, I need to save HTML code in "Windows-1251" charset, then everything is OK.
I would like to skip these steps and get correct charset at first running.
Regards,
Roman
Message was edited by: Roman Babkin
Hi Vivek,
It's helpful suggestion.
But I need something else, because I make HTML code in CRM automatically (by FM "LVC_ALV_CONVERT_TO_HTML") and output it in the action class using BufferedOutputStream.
I certainly can do the output in JSP and insert modified <isa:contentType> before it, as you recommended, and may be it helps, but I would like to find a solution without creating JSP.
Have you any another suggestions?
Regards,
Roman
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.