ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47382] Encoding attribute of loadproperties does not function correctly
Date Fri, 19 Jun 2009 14:10:45 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=47382


Stefan Bodewig <bodewig@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #6 from Stefan Bodewig <bodewig@apache.org>  2009-06-19 07:10:44 PST ---
The stream is passed to properties.load(InputStream) which explicitly expects
it to be iso-8859-1 encoded, IÄve adapted to code in svn revision 786515 ( https://svn.apache.org/viewcvs.cgi?view=rev&rev=786515
)

The real solution would involve Properties.load(Reader) which has been added in
Java 6 (and thus can be used in Ant in about five years, or so 8-).

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