commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

classpath/java/util/logging XMLFormatter.java


From: Sascha Brawer
Subject: classpath/java/util/logging XMLFormatter.java
Date: Mon, 11 Nov 2002 05:13:58 -0500

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Sascha Brawer <address@hidden>  02/11/11 05:13:56

Modified files:
        java/util/logging: XMLFormatter.java 

Log message:
        (getHead): Use UTF-8 as default if System.getProperty("file.encoding")
        returns null. Since file.encoding is defined on Sun VMs, but not
        documented in the API specification of java.lang.System.getProperties(),
        we cannot depend on it. Comments in the source explain why UTF-8 is a
        safe fallback unless the platform uses something really arcane (such
        as EBCDIC) for its files.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/util/logging/XMLFormatter.java.diff?tr1=1.2&tr2=1.3&r1=text&r2=text





reply via email to

[Prev in Thread] Current Thread [Next in Thread]