Question: I'm trying to read some French character from the file but some symbols comes if letter contains à é è.
Can anyone guide me how to get actual character of the file.
Here is my main method 

```
public static void main(String args[]) throws IOException

    {
    char current,org;

    //String strPath = "C:/Documents and Settings/tidh/Desktop/BB/hhItem01_2.txt";

    String strPath = "C:/Documents and Settings/tidh/Desktop/hhItem01_1.txt";
    InputStream fis;

    fis = new BufferedInputStream(new FileInputStream(strPath));

    while (fis.available() > 0) {
    current= (char) fis.read(); // to read character
                                                            // from file
                            int ascii = (int) current; // to get ascii for the
                                                        // character
                            org = (char) (ascii);
                            System.out.println(org);
    }

```

Answer: 
You can download one jar file for Apache Commons IO and try to implement it by reading each line rather than reading char by char.

```
 List<String> lines = IOUtils.readLines(fis, "UTF8");

        for (String line: lines) {
          dbhelper.addDataRecord(line + ",'" + strCompCode + "'"); 
        }

```
the specific encoding for french give by IBM is CP1252 (preferred because run on all operating system).

Regards,

A frenchy guy