Mailing Lists: Apple Mailing Lists

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

Re: Setting system-wide encoding?




On Dec 7, 2006, at 16:31 , Shawn Erickson wrote:

Then that is about the tool you use when creating / modifying the source file. Set it to use UTF-8 and be done with it. If needed force javac to use a particular encoding by supplying the -encoding parameter.

You're missing the point. The WHOLE POINT is to NOT have to specify - encoding this every time. It's too easy to forget to do, just as it's too easy to get a file that defaults to MacRoman. In general, it's easier (on the Mac) to set the default encoding in the various programmers' text editors, but Java still won't behave correctly if it's expecting MacRoman.




--
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
References: 
 >Setting system-wide encoding? (From: Rick Mann <email@hidden>)
 >Re: Setting system-wide encoding? (From: Michael Hall <email@hidden>)
 >Re: Setting system-wide encoding? (From: Rick Mann <email@hidden>)
 >Re: Setting system-wide encoding? (From: Shawn Erickson <email@hidden>)
 >Re: Setting system-wide encoding? (From: Rick Mann <email@hidden>)
 >Re: Setting system-wide encoding? (From: Shawn Erickson <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.