Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Using Unicode-HTML in XSL Transformations

Former Member
0 Kudos

Hello everybody.

We are using XSL data with XSLT Transformations to generate webpages in html. Inside the html pages we have to use bullet points:

• data1

• data2

• data3

Because bullet points belong to the special characters of the microsoft codepage we have a unicode problem. The requirement is that the transformation will work in both unicode and non-unicode systems.

If we copy the bullet point character from i.e. Word into the transformation the html pages will be rendered correctly in the non-unicode systems but not in the unicode system.

If we use the html unicode encoding "& # 8 2 2 6;" in the XSLT it's the other way round. Now the html pages are not rendered correctly in the non-unicode system (a rhomb # shows up). (Using "& b u l l ;" in the XSLT it won't compile).

So what can we do to fix this problem? The problem is that only our Web Application Server is a unicode system. But the systems with the preview function are non-unicode systems...

Thanks in advance for any help!

1 REPLY 1

nils_buerckel
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

in general SAP aims for compatibility between Non-Unicode and Unicode whereever feasible.

But in this case I think this is not the case - as you can see from SAP note 1017101:

[...] the content of a STRING variable is encoded in the SAP system codepage [...]

Therefore I think the only solution to this problem is to use Unicode on all systems, which are involved in the development of the web functionality.

This is one of the reason, why SAP recommends to make use of Unicode throughout the whole system landscape for all customers.

Best regards,

Nils Buerckel

SAP AG