Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting system-wide encoding?



I noticed that the JVM, by default, provides the following system properties:

file.encoding=MacRoman
sun.jnu.encoding=MacRoman

In this day and age, I'm surprised Mac OS X's Java isn't UTF-8 already. But I'd like to set the encoding for ALL jvms instantiated, regardless of how (via java, or javac calls, or as applet containers, etc), to utf-8 (assuming no command-line parameters are supplied to override the system-wide default).

Is there a file somewhere that I can modify to change this? Or is it hard-coded in the JVM code itself?

Thanks!

--
Rick


_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.