Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Non-ASCII characters not rendering properly in exported application(They render fine when I run it from within Eclipse)
icon5.gif  Non-ASCII characters not rendering properly in exported application [message #657786] Fri, 04 March 2011 04:26 Go to next message
SBS  is currently offline SBS Friend
Messages: 57
Registered: January 2011
Member
I have a tree where the labels for the nodes may contain non-ASCII characters such as the "dagger" character. These characters display perfectly when I run the application from within Eclipse but after I have exported the product/application these characters displays as illegible characters and appear to be garbled nonsense.

It's as though there's a character set or Unicode support that is missing from the exported application but not when run from within Eclipse. Why would that be? How can I get the exported product to display these characters properly?

I have only tested with Windows XP and Java 6 at the moment if that helps.
Re: Non-ASCII characters not rendering properly in exported application [message #657830 is a reply to message #657786] Fri, 04 March 2011 09:13 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 04.03.2011 05:26, SBS wrote:
> I have a tree where the labels for the nodes may contain non-ASCII
> characters such as the "dagger" character. These characters display
> perfectly when I run the application from within Eclipse but after I
> have exported the product/application these characters displays as
> illegible characters and appear to be garbled nonsense.
>
> It's as though there's a character set or Unicode support that is
> missing from the exported application but not when run from within
> Eclipse. Why would that be? How can I get the exported product to
> display these characters properly?
I see two possible reasons:
1. you run with different encoding
2. you use a different JRE

Dani
>
> I have only tested with Windows XP and Java 6 at the moment if that
> helps.
icon5.gif  Re: Non-ASCII characters not rendering properly in exported application [message #658124 is a reply to message #657830] Sun, 06 March 2011 18:47 Go to previous messageGo to next message
SBS  is currently offline SBS Friend
Messages: 57
Registered: January 2011
Member
Dani Megert wrote on Fri, 04 March 2011 04:13
I see two possible reasons:
1. you run with different encoding
2. you use a different JRE


If they are the only 2 options then it must be (1) because I am definitely using the same JRE.

OK, if it's (1), why would I be running with a different encoding and how do I specify one? All I am doing is exporting the product and running it, there are no changes.

Re: Non-ASCII characters not rendering properly in exported application [message #660176 is a reply to message #658124] Thu, 17 March 2011 09:07 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 06.03.2011 19:47, SBS wrote:
> Dani Megert wrote on Fri, 04 March 2011 04:13
>> I see two possible reasons:
>> 1. you run with different encoding
>> 2. you use a different JRE
>
>
> If they are the only 2 options then it must be (1) because I am
> definitely using the same JRE.
>
> OK, if it's (1), why would I be running with a different encoding and
> how do I specify one? All I am doing is exporting the product and
> running it, there are no changes.
>
You could print out the encoding to verify it's the same. Do you read
the strings from some files? If not, then the encoding isn't the problem.

Dani
Previous Topic:Contribution to org.eclipse.ui.intro.configExtension
Next Topic:FileEditorInput READONLY
Goto Forum:
  


Current Time: Thu Mar 28 08:55:04 GMT 2024

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

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

Back to the top