I have a character encoding utility that turns high ASCII (i.e. ord value > 127) into HTML entities (so '�' which is unicode \u00e0 becomes 'à'). In the code there is one big ol' honkin' switch statement with each high ascii character (that I care about) as a case, so:
switch( chr) {
case '�': buf.append("à"); break; ....When I try to run my maven build goal, it will not compile this utility class, and I get a whole bunch of errors to the effect:
case '?' already defined
If I run javac, no problemo. Compiles just fine. I played around with system encoding in the project.xml and maven.xml files (was UTF-8, also tried iso-8859-1), and in my OS (linux) to no avail.
Any clues?
(To get it to work, I eventually converted all the high ascii characters to their unicode values. Painful, but it worked. ;-)
jeff
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
