Hi guys, Arnaud summarized very well the "solutions" for the accent problem or other special characters in a Windows prompt. For me, the best way is to get the current codepage in a batch (ie maven.bat) and put it in the jvm. Personally, I am not hot about the idea to add -Dfile.encoding option in the MAVEN_OPTS: we need to have a generic way. Thought?
I tried that Brett said, without success. Here is a dummy bat file: MODE CON[:] CP SELECT=yyy echo %yyy% But I am not a DOS expert :) About accents in the message_fr.properties, I saw that the translation of FAILED is \u00c8CHOU\u00c8 ie ÉCHOUÉ. The É character is \u00c8 in java, so correct: http://www.fileformat.info/info/unicode/char/00c8/index.htm I did this morning a new checkout and a new build. Working as expected. Cheers, Vincent > -----Original Message----- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 25, 2005 5:21 AM > To: Maven Developers List > Subject: Re: i18n WAS: svn commit: r178137 > > Arnaud HERITIER wrote: > > >I found an old mail we have with Vincent. > > There are 2 solutions to resolve this problem : > > - Use the font "Lucida Console" and use the code page 1252 : > >chcp 1252 > >(The default is 850 - in France) > > - Give to the jvm the codepage to use : -Dfile.encoding=Cp850 > > The best solution could be to find the codepage used in the console and > >pass it to the jvm. > >But actually I don't find how to get the codepage in a windows batch. > > I'll try to investigate. If anyone have an idea .... > > > > > "help mode" shows: > > Select code page: MODE CON[:] CP SELECT=yyy > > (still there from when I needed it in dos 3.3!) > > or, you could put the encoding in MAVEN_OPTS > > - Brett > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]