[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Re: Equinox and UTF-8


On Thu, 10 Jul 2008 12:22:59 +0200, Holger Mense <mail@xxxxxxxxxxxxxxx>
> Hello Gunnar,
> On Thu, 10 Jul 2008 10:24:54 +0200, Gunnar Wagenknecht
> <gunnar@xxxxxxxxxxxxxxx> wrote:
>> Hi Holger,
>> Please have a look at the command line that Eclipse generates. I noticed
>> that Eclipse automatically passes -Dfile.encoding parameter depending on
>> the encoding set on the Java source file, project properties or system
>> default.
> I think I got it now. Thank you for putting me into the right direction.
> For testing on console I exported my bundle with the
> Eclipse "Export..." function. For testing it as standalone I first used
> Fat Jar. The Fat Jar jar was okay, the "Export..." jar failed.


> My workspace and my project is configured to use UTF-8 as textfile
> encoding.
> For me it looks like that the "Export..." function is not working
> properly.
> Can someone confirm my observations?

I did some investigations. "Export..." seems to use that encoding which 
is given with -Dfile.encoding at Eclipse start. Adding a line into
to use UTF-8 leds to "Export..." correctly exporting the class file.

Holger Mense