• Post Reply Bookmark Topic Watch Topic
  • New Topic

About UTF-8 settup.  RSS feed

 
sridhar Ranganathan
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need to set windows default encoding as UTF-8,for that i need to do through java program,or system setting.If any one knows please help me.

Thanks,
Sridhar.R
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I doubt that this is possible at all, and if it is, Java is not the way to do it (unless you want to use JNI). Or do you mean starting a JVM with a default encoding of UTF-8? That could be done by setting the "file.encoding" property.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!