You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2008/09/20 19:44:33 UTC

DO NOT REPLY [Bug 45854] New: [PATCH] echoproperties: character encoding for text output

https://issues.apache.org/bugzilla/show_bug.cgi?id=45854

           Summary: [PATCH] echoproperties: character encoding for text
                    output
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: mizoguti@gmail.com


I would like to modify only one line for the internationalization of
'echoproperties' optional task.

EchoProperties.java

508     protected void jdkSaveProperties(Properties props, OutputStream os,
509                                      String header) throws IOException {
510        try {
511            props.store(os, header);
512
513        } catch (IOException ioe) {


511            props.store(new OutputStreamWriter(os, "UTF8"), header);


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 45854] [PATCH] echoproperties: character encoding for text output

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45854


Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #1 from Stefan Bodewig <bo...@apache.org>  2008-09-25 05:47:39 PST ---
Properties#store(Writer, String) has been introduced in JDK 1.6, which is way
to recent for Ant's JDK compatibility rules (Ant 1.8.0 must be compatible with
1.4 IIRC).


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.