Skip to Content
0
Former Member
Jul 16, 2008 at 08:32 AM

Displaying Polish characters

1474 Views

Hi all,

I have a question regarding Polish (and other non-ANSI) characters.

In our company we developed a highly customized MAM. We are using it in already 11 different countries across Europe. In the Western Europe countries, we had of course no character problems. But in the last country, Poland, we had some character issues.

It seems that the data coming from SAP is correctly encoded as unicode. After putting the next statements in every JSP, the character issues for the data coming from SAP were solved:

<%@ page language="java" contentType="text/html; charset=UTF-8"%>

meta http-equiv="Content-Type" content="text/html; charset=UTF-8"

But for the Polish interface, we are using the MAMtext_pl.properties file, which is saved as UTF-8 (without BOM), and I can't get the characters correctly displayed on my laptop (configured as a Belgian laptop). When I log in in Polish, the right MAMtext file is used, but the text is not displayed correctly.

Example:

Szczególy instead of Szczególy

To avoid confusion: the text coming from SAP is displayed correctly, like for instance:

UL. PRZEMYSu0141OWA 12
63-600 Ku0118PNO 

Only the GUI text coming from the MAMtext_pl.properties file is displayed incorrectly.

When I ask the Locale from the MEResourceBundle, the Locale is set on pl_BE. Where does the BE come from? I guess from a system variable? I guess that this is the reason why the MAMtext_pl.properties file is not read correctly? Or is there another reason? Will they have the same problem on a Polish laptop? And how can I fix this? can I force the Mobile Engine to read it as unicode (UTF-8)? If not, how can I build an interface with special characters?

Thanks for the help!

Best regards,

Diederik Van Wassenhove

Edited by: Diederik Van Wassenhove on Jul 16, 2008 10:38 AM