cancel
Showing results for 
Search instead for 
Did you mean: 

Problems displaying french special characters

Former Member
0 Kudos

Hello,

we are developing a multi-lingual WebDynpro application. The languages are set correct and the translation for all parts (portal, xls-files) works fine. Except the correct displaying of WebDynproResourceBundle-files.

Example:

We use the french property file with the content:

Enl\u00c3\u00a8vement

When calling this value, it displays:

Enlèvement

instead of

Enlèvement

I already tried to set the jvm system parameter for encoding to latin1 and latin2. But this didn't help.

Does anybody know, what parameter I have to set to have this french special signs displayed the right way?

Thank you in advance.

Matthias

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Any further ideas to this topic?

Thanks!

Matthias

Former Member
0 Kudos

If you use the text editor instead of the default S2X editor for translation, you can enter special characters without any problem.

Peter

Former Member
0 Kudos

Hi Mathias:

When you create a Web Dynpro project you set a project language property in the first wizard window, try to put it in your good language "French", if you don´t do it in this step, you can´t change it in another part of your project, and your application can behave rare with the language.

Good luck

Regards

Joshua

Former Member
0 Kudos

Hello Joshua,

as I described before, we have a multi-lingual application. Therefore setting the project language to french when creating the project, wouldn't help me.

Only the WebDynproResourceBundle files are not displayed correctly.

Any other suggestions?

Thank you.

Former Member
0 Kudos

Hello Matthias,

Check out <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3c86138e-0a01-0010-a4bc-a2da85161427">this</a> article.

Good Luck.

Bala

Former Member
0 Kudos

Hello Bala,

thank you for the link.

But I already knew this article and it doesn't really describe the same problem.

In my application the right property-file (e.g. "fr", "de", "en") according to the subsequent user language is picked. The only problem is, that some special characters, e.g. "é" will not be displayed correctly.

Thank you

Former Member
0 Kudos

Where are they displayed wrongly, in NWDS?

Are you using text file encoding "UTF-8"?

See Preferences -> General -> Editors -> Text file encoding.

Armin

Former Member
0 Kudos

Yes, I use UTF-8. I think this is the default-value, isn't it?

They are displayed wrongly, when executing the WebDynpro application. Inside the NWDS editor the display is like that:

example:

editor: language: browser: correct

gel\u00f6

scht de gelö

scht ok

Enl\u00c3\u00a8

vement fr Enlè

vement no!

As you can see, it works fine for german special characters, but not for french, czech and some other languages.

Thank you