Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Can the default locale be changed to use ISO-Latin-1 charset?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can the default locale be changed to use ISO-Latin-1 charset?



<email@hidden> wrote:

>Hmm... Ok, so my original question is still open, and I would like to
>test whether this was the problem. Does anyone know how I can change the
>default encoding for my java programs? I have no interest what so ever in
>MacRoman.

For each program you want to test, you have to change its default
properties. Specifically, change the "file.encoding" property as I
outlined earlier.

If you mean "How do I change the default encoding for all Java programs I
ever run?", I don't think there's an answer. It's one of those things I've
never been able to understand: the complete inability to set arbitrary
global properties for Java programs. You'd think there would be a
"JavaDefaults.properties" file somewhere, but there isn't, AFAIK. You'd
also think there might be an automatic "~/.User.properties", too, so
defaults could be overridden on a per-user basis. But there isn't one of
those, either, AFAIK.

In some ways, watching the evolution of Java is like recapitulating the
evolution of Unix and its shells over the past 30 years. It's a shame that
those lessons were ignored, or are only slowly beginning to be appreciated
and followed. Santayana was right.

-- GG
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Can the default locale be changed to use ISO-Latin-1 charset? (From: Greg Guerin <email@hidden>)
 >Re: Can the default locale be changed to use ISO-Latin-1 charset? (From: Thorbjørn Ravn Andersen <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.