> 
> [Java : How to determine the correct charset encoding of a stream](https://stackoverflow.com/questions/499010/java-how-to-determine-the-correct-charset-encoding-of-a-stream) 
> 
> 
> 

i want to get the file encoding type runtime for pertiqular file.

```
System.getProperties("file.encoding");

```

the above code display the same encoding type for all input file.