If you want to know about Character set used by Java on Linux Server then follow the following Steps:
1.) Create a file named as CharacterEncodingExample.java.
2.) Copy & Paste the code to new created file.
3.) Compile Java source code as :
#javac CharacterEncodingExample.java
4.) Then run the compiled program.
 
[mc26157@ph132704]~$ java CharacterEncodingExample
defaultCharacterEncoding by property: UTF-8
defaultCharacterEncoding by code: UTF8
defaultCharacterEncoding by charSet: UTF-8
 
Posted in: Linux.
Last Modified: November 19, 2013

One thought on “How to find Java Character Set/Encoding in Linux

  1. bottes fille 33

    I like Your Report about Why We Keep track of | J Squared Consulting Excellent just what I was searching for!

Leave a reply