I have a java code and I want to convert it into Utf-8. How can I do it in console. By the way I have multiple files so it need to be do multiple conversion. Getting Info About Character Set We start by getting information about character set. We need to be sure files character set to convert accordingly.
$ file -i main.java
main.java: text/plain; charset=us-ascii
file is very useful tool to get information about files like...