You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/09/18 22:11:53 UTC
DO NOT REPLY [Bug 36699] New: -
PropertiesConfiguration.load should default to encoding "8859_1"
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36699>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36699
Summary: PropertiesConfiguration.load should default to encoding
"8859_1"
Product: Commons
Version: unspecified
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Configuration
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: wglass@forio.com
Same issue as:
http://issues.apache.org/bugzilla/show_bug.cgi?id=17616
Copied from 17616
The default load method for commons.collections.ExtendedProperties currently
loads properties using the default JVM encoding. The default load() method
should use "8859_1" encoding.
Rationale:
1) consistency: java.util.Properties.load() method always uses "8859_1"
2) properties resources are always 8859_1, by convention.
2) On edbcic machines, particularly IBM mainframes, the default encoding is
Cp1047 (ebcdic), but properties files are always ASCII (ISO8859-1)
3) This bug causes many Apache tools, such as Velocity, which uses
commons.collections, to fail on non-ascii machines, since they distribute
properties resources which are (correctly) in 8859-1.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org