Anything Simple 2

Just simple stuff ...

Showing posts with label jvm. Show all posts
Showing posts with label jvm. Show all posts

Wednesday, May 2, 2007

Set the JVM platform default character encoding to UTF-8

You could set the JVM platform defalult character encoding to UTF-8 by using the following JVM option:
-Dfile.encoding=UTF-8

Make sure this flag come before your Main program name, especially when you are calling org.apache.tools.ant.Main.

Please refer here.
Posted by David L at 10:06 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: java, jvm
Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ▼  2013 (1)
    • ▼  June (1)
      • Remote Desktop Black Screen?!
  • ►  2012 (1)
    • ►  January (1)
  • ►  2011 (9)
    • ►  December (4)
    • ►  November (1)
    • ►  September (1)
    • ►  August (1)
    • ►  July (1)
    • ►  January (1)
  • ►  2010 (7)
    • ►  December (1)
    • ►  September (1)
    • ►  April (4)
    • ►  March (1)
  • ►  2009 (9)
    • ►  December (2)
    • ►  June (3)
    • ►  April (2)
    • ►  March (2)
  • ►  2008 (11)
    • ►  December (2)
    • ►  November (2)
    • ►  October (2)
    • ►  August (1)
    • ►  July (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (1)
  • ►  2007 (43)
    • ►  August (1)
    • ►  July (2)
    • ►  June (2)
    • ►  May (6)
    • ►  April (12)
    • ►  March (6)
    • ►  February (8)
    • ►  January (6)
  • ►  2006 (11)
    • ►  October (2)
    • ►  September (2)
    • ►  June (7)

About Me

David L
View my complete profile
Awesome Inc. theme. Powered by Blogger.