Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Due to a conflict between the mac osx lion 'file.encoding' system-property and my java application, i have to change the setting from MacRoman to UTF-8. What is the best way to reset this system property globally for all users on this machine?

Regards mmm...

share|improve this question
What is reading this property as I do not think java does? – Mark Jan 20 '12 at 14:25
System.getProperties(); in java – MartinVonMartinsgrün Jan 20 '12 at 14:44
up vote 1 down vote accepted

You've got it the wrong way round, the issue is not the OSX default encoding which is UTF8, but Java's default encoding under OSX which is MacRoman

Apples Mac Developer docs on Java see the section 'Character Encoding'

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.