That did it. Thank you!
Gisbert Amm
Lukas Theussl wrote:
For this you probably have to set the maven.compile.encoding option of
the java plugin.
Gisbert Amm wrote:
With the described workaround I face another problem:
In some of our sources there is code to replace non-ASCII characters
like that:
for(int i=0; i < length; i++) {
char c = input.charAt(i);
switch(c) {
case 'Ä': builder.append("Ae"); break;
case 'ä': builder.append("ae"); break;
case 'Ö': builder.append("Oe"); break;
case 'ö': builder.append("oe"); break;
case 'Ü': builder.append("Ue"); break;
case 'ü': builder.append("ue"); break;
case 'ß': builder.append("ss"); break;
...
default: builder.append(c);
}
When I set the LANG variable to de_DE.utf8, the compiler finds \ufffd
instead of Ä,ä,Ö,ö,Ü,Ü,ß and stops with a "duplicate case label" error.
Is there a way to get around this?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]