Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java.nio.charset. UnsupportedCharsetException: MacRoman  RSS feed

Garrett Smith
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting an error with this program:

This is the error:

The error is with Charset.forName("MacRoman").
I think it's not supported on my OS. Funny thing is: it's the default charset!

public class UnsupportedCharsetException
extends IllegalArgumentException

Unchecked exception thrown when no support is available for a requested charset.

I'm not desparate for a solution. I was just working with this to learn more about charsets.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!