Yep, already did that too. Just wanted to figure out if there was an easier way around this for the future. Turns out that 'maven.compile.encoding = iso8859-1' does the trick as well.

jeff

Martin Skopp wrote:
Hi Jeff,

On Fri, 2003-11-07 at 01:11, Jeffrey Bonevich wrote:

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("&agrave"); break; ....


After a few of our developers here changed from Win32 to Linux machines,
we had even worse problems with encodings, since some diffferent editors
on the different OS had different default encodings.
It could be a real pain to do it, but I would recommend you anyway to
change your code to

switch( chr) {
   case '\u00e0': buf.append("&agrave"); break; .... /* char=Ã */

cu,



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to