I\'m writing a program in Java and one of the things that I need to do is to create a set of every valid location for a shortest path problem. The locations are defined in a
I also had similar issue on my Linux server and finally below code worked for me.
Scanner scanner = new Scanner(new File(filename),"UTF-8");