JET templates and swedich characters

Posted by mikaelstenmark on 17-May-2017 03:40

When I create JET templates, the Swedish characters (åäö) is change to "?" when the javafiles * .java is created. How do you do to keep the Swedish characters.

Mikael

Posted by Suresh Inavolu on 17-May-2017 04:17

Looks like an issue with the encoding. Can you try using UTF8 (by default Eclipse/PDSOE uses CP-1251).

You can change it either at workspace level or project level.

For Workspace level settings:

Window > Preferences > General > Workspace, change the Text file encoding from Default (Cp1252) to UTF8.

These steps might be different based on version of Architech (PDSOE)/Eclipse you are using - which version are you using?

Regards

Suresh

All Replies

Posted by Suresh Inavolu on 17-May-2017 04:17

Looks like an issue with the encoding. Can you try using UTF8 (by default Eclipse/PDSOE uses CP-1251).

You can change it either at workspace level or project level.

For Workspace level settings:

Window > Preferences > General > Workspace, change the Text file encoding from Default (Cp1252) to UTF8.

These steps might be different based on version of Architech (PDSOE)/Eclipse you are using - which version are you using?

Regards

Suresh

Posted by mikaelstenmark on 17-May-2017 05:46

Now I get the swedich characters. Thank's

/micke

Posted by gus bjorklund on 17-May-2017 09:02

you don’t have to use utf-8 for this. utf-8 is a multi-byte character set but there are single-byte alternatives.

it might be more convenient to use whatever character set is normally used in sweden.

ISO-8859-15 is common for much of wester europe.

This thread is closed