cancel
Showing results for 
Search instead for 
Did you mean: 

CRM-ISA: Character encoding

0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

Hi Roman,

Please modify class file corresponding to <isa:contentType> to set the correct encoding.

Create a new class file similiar to

com.sapmarkets.isa.core.taglib.ContentTypeTag and modify your isa.tld to include this class file for contentType tag.

Regards,

Vivek

0 Kudos

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