How to convert native character to unicode and unicode to native?

Java provides a simple tool named native2ascii to convert native to ASCII and ASCII to native. Native characters are represented in ASCII using its Unicode equivalent. You can find the native2ascii tool in the JAVA_HOME/bin To convert native to ascii you can use the below given command. /local/opt/java/bin/native2ascii -encoding utf8 source-file target-file source file should […]
Continue reading…