You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ab...@apache.org on 2003/04/11 11:03:10 UTC

cvs commit: maven/src/java/org/apache/maven MavenUtils.java

abarantsev    2003/04/11 02:03:10

  Modified:    src/java/org/apache/maven MavenUtils.java
  Log:
  Fix encoding problem. Use of non-English characters in project descriptor was impossible because POM interpolation lost encoding.
  
  Revision  Changes    Path
  1.92      +2 -2      maven/src/java/org/apache/maven/MavenUtils.java
  
  Index: MavenUtils.java
  ===================================================================
  RCS file: /home/cvs/maven/src/java/org/apache/maven/MavenUtils.java,v
  retrieving revision 1.91
  retrieving revision 1.92
  diff -u -r1.91 -r1.92
  --- MavenUtils.java	24 Mar 2003 13:55:28 -0000	1.91
  +++ MavenUtils.java	11 Apr 2003 09:03:09 -0000	1.92
  @@ -359,7 +359,7 @@
           // Now run the script against the fully populated context so all the
           // values are filled in correctly.
           ByteArrayOutputStream baos = new ByteArrayOutputStream();
  -        Writer writer = new BufferedWriter( new OutputStreamWriter( baos ) );
  +        Writer writer = new BufferedWriter( new OutputStreamWriter( baos, INTERNAL_ENCODING ) );
           XMLOutput output = XMLOutput.createXMLOutput( writer );
           script.run( context, output );
           writer.close();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org