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]

Reply via email to