cancel
Showing results for 
Search instead for 
Did you mean: 

Character encoding in Web Dynpro source code

Former Member
0 Kudos

Hi all,

I want to use special characters like "äüß" in Web Dynpro java code and can't find a possibility to specify the character encoding (ISO-8859-1) for Developer Studio Web Dynpro source editor.

After rebuilding or compiling the code looks like "äüß".

In the Java perspective source editor of eclipse/Developer Studio is a menu entry edit/encoding/... but not in Web Dynpro perspective.

Does anybody know how to set encoding?

Michael

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Use UTF-8. This should also be the default setting in NWDS, see

Window - Preferences...

General - Editors

Text File Encoding

Other: UTF-8

Armin

Former Member
0 Kudos

Thanks Armin! Thats the solution. UTF-8 was not my default setting.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Michael,

Perhaps you can try converting your unicode characters to Java String literal with this web site (http://www.snible.org/java2/uni2java.html).

The characters that you supplied convert to "\u00E4\u00FC\u00DF", perhaps inserting that as the String will help.

Best regards,

Patrick.