Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » german umlauts are wrong after exporting RCP application
german umlauts are wrong after exporting RCP application [message #328682] Mon, 02 June 2008 04:19 Go to next message
Eclipse UserFriend
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 #328684 is a reply to message #328682] Mon, 02 June 2008 04:37 Go to previous messageGo to next message
Eclipse UserFriend
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?


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: german umlauts are wrong after exporting RCP application [message #329023 is a reply to message #328684] Tue, 10 June 2008 12:53 Go to previous message
Eclipse UserFriend
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?
>
>
Previous Topic:MarkerView openAction - any way to change its behavior?
Next Topic:Triggering updates?
Goto Forum:
  


Current Time: Wed Apr 16 13:44:10 EDT 2025

Powered by FUDForum. Page generated in 0.29293 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top