All operating systems uses some locale settings to properly interpret language related data. In Linux this settings are called as locale and used even without GUI or desktop environment. They are generally configured during installation of the operating system but also changed after installation. “Perl warning Setting locale failed” is mostly occurring error after installation. Which is caused by locale miss configuration. In this tutorial we will look how to solve this...
Computers work with binary math. Which means 0 and 1 but how can we get output like pictures, sound, decimal numbers. These 0’s and 1’s are converted into decimal and other type of the data. One of the most used convert type is ASCII. American Standard Code for International Interchange ASCII is acronym for American Standard Code for International Interchange . This standard is developed to serve common data format between...
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...