german umlauts are wrong after exporting RCP application [message #328682] |
Mon, 02 June 2008 04:19  |
Eclipse User |
|
|
|
Originally posted by: Gerhard.Hinterndorfer.pedrics.at
Hello,
I have got a problem with german umlauts. I am using eclipse 3.2.1.
I work on a cross platform RCP application (Windows and linux) and
therefore I changed the encodingof the project fix to utf8.
Starting the RCP application within Eclipse everything is fine.
Starting the exported RCP application:
1) on linux: everything is fine
2) on windows: instead of the umlauts some other characters are displayed.
I guess, that on linux it is working, because utf8 is standard there.
Does eclipse start the java vm in another way, than an exported RCP
application?
Does anybody have experience or an idea?
|
|
|
|
Re: german umlauts are wrong after exporting RCP application [message #329023 is a reply to message #328684] |
Tue, 10 June 2008 12:53  |
Eclipse User |
|
|
|
Originally posted by: Gerhard.Hinterndorfer.pedrics.at
Tom, thanks a lot for your hints
both solutions are working.
some comments just for others who have similar problems:
-----------
@1: after externalizing strings all german umlauts are converted
automatically to \u escape sequences
@2: thanks for the link to anyEdit which can automatically convert from
and to unicode ... but this feature is starting at 1.9.0 and this
version is only running on Eclipse 3.3 or higher.
---------------
So I will move to Eclipse 3.3.
But why only the exported stand alone RCP Application interpretes the
Umlauts on Windows in the ISO-8859-1 coding is still opended.
Gerhard
Tom Schindl schrieb:
> 1. You should NOT have Strings in your Source-Code => externalize them
> using the wizard that comes with eclipse
>
> 2. You should escape highbit chars using \u-esacape sequence
> http://andrei.gmxhome.de/anyedit/index.html
>
> Tom
>
> Gerhard H. schrieb:
>> Hello,
>>
>> I have got a problem with german umlauts. I am using eclipse 3.2.1.
>>
>> I work on a cross platform RCP application (Windows and linux) and
>> therefore I changed the encodingof the project fix to utf8.
>>
>> Starting the RCP application within Eclipse everything is fine.
>>
>> Starting the exported RCP application:
>> 1) on linux: everything is fine
>> 2) on windows: instead of the umlauts some other characters are
>> displayed.
>>
>> I guess, that on linux it is working, because utf8 is standard there.
>>
>> Does eclipse start the java vm in another way, than an exported RCP
>> application?
>>
>> Does anybody have experience or an idea?
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.29293 seconds