I am working on a project that i need to create a connection with an MS access database. The problem is that when i try to retrieve a valuefrom a field written in Greek , it appears every letter as questionmark . Does anyone have any idea how to solve it ?
Below is a part of my code where the problem appears
String KTA1 = KA4prwta.getText() + KA3teleutaia.getText();//KTA
        String selectSQL = "SELECT * FROM [" + tablename + " ] WHERE KTA ='" + KTA1 + "'";
        try {
            PreparedStatement preparedStatement = conn.prepareStatement(selectSQL);
            ResultSet rs = preparedStatement.executeQuery();
            while (rs.next()) {
                ep = rs.getString("EPON");
                on = rs.getString("ONOM");
            }
            Epwnumotf.setText(ep);
            Onomatf.setText(on);
        } catch (SQLException ex) {
            Logger.getLogger(DBinsert.class.getName()).log(Level.SEVERE, null, ex);
        }
 
     
    