History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-11229
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Alexey Kudravtsev
Reporter: Raffael Herzog
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Eclipse compiler doesn't honour -encoding

Created: 04 Oct 06 14:33   Updated: 24 Oct 06 17:18
Component/s: Compiling Project
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Linux (Ubuntu 6.06 / Custom Kernel 2.6.16.17), Java 1.5.0_08

Build: 5,766
Severity: Medium


 Description  « Hide
The Eclipse compiler doesn't seem to honour the -encoding flag, although it supports it. With javac, it works just fine.

Background: I with Linux work in a team of windows users. Sometimes it happens, that german umlauts show up in the code. Because my system encoding is UTF-8 while the Windows users use cp-1252, this will lead to illegal characters on my machine. I remove such characters manually whenever I touch such a file, but for being able to compile without going through all the files, I pass the compiler -encoding windows-1252. The Eclipse compiler (both embedded and external) still complains about illegal characters in the source files.



 All   Comments   Work Log   Change History      Sort Order:
Raffael Herzog - 11 Oct 06 14:43
Was my report wrong or has the issue been partially resolved? Anyway, it seems to be fixed in 6.0.1 for the external Eclipse compiler, it still doesn't work embedded, though.