Vincent Siveton <[EMAIL PROTECTED]> writes: +1 for this. I'd prefer to set the encoding to ISO-8859-1 or US-ASCII because IMHO it reflects the reality better.
Regards Henning >Hi guys, >I am running java on Mandrake 10.1 (fr_CA). >Personally, I prefer Juan solution. >On my system, by adding the following parameter, the build fails : >+++ project.properties >+maven.compile.encoding=UTF-8 >=> Failed >So, I propose here a mixed solution to be safe [1]: >+++ src/test/org/apache/maven/xdoc/util/LocaleUtilTest.java >- assertEquals(result, "Français"); >+ assertEquals(result, "Fran\u00e7ais"); >+++ project.properties >+maven.compile.encoding=UTF-8 >=> Success >Thoughts? >Cheers, >Vincent >[1] Let's see >http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javac.html#options >"-encoding encoding >Set the source file encoding name, such as EUCJIS/SJIS. If -encoding >is not specified, the platform default converter is used. " >2005/9/2, Juan F. Codagnone <[EMAIL PROTECTED]>: >> >> On Thursday 01 September 2005 21:25, Lukas Theussl wrote: >> ... >> > Can you guys confirm that this still works for you? >> >> yeap, that fixes the problem. The other solution that works, is telling the >> compiler that these java classes are written en latin1: >> >> Index: project.properties >> =================================================================== >> --- project.properties (revision 266297) >> +++ project.properties (working copy) >> @@ -18,3 +18,4 @@ >> # P R O J E C T P R O P E R T I E S >> # ------------------------------------------------------------------- >> maven.junit.fork=yes >> +maven.compile.encoding=ISO-8859-1 >> >> >> Regards, >> Juan. >> >> pd. first post! >> >> -- >> Buenos Aires, Argentina 8°C with winds at 24 km/h >> SSW >> >> >> >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/ RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire Linux, Java, perl, Solaris -- Consulting, Training, Development 4 - 8 - 15 - 16 - 23 - 42 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]