French Characters getting converted into Special characters while saving in Database
<p>Saving the text “février.xlsx” in DB is getting saved as “fÃ©vrier.xlsx” when saved via J2EE application.</p>

<p>DB Version : Oracle Database 11g Enterprise Edition Release 11.2.0.4.0</p>

<p>NLS_CHARACTERSET - AL32UTF8</p>

<p>NLS_NCHAR_CHARACTERSET - AL16UTF16</p>

<pre><code>public DocumentModel save(DocumentModel model) {
                  DocumentModel docModel = null;
                  try {
                         LOGGER.info("Name before saving into DB :"+model.getDocumentFileName());
                         docModel = entityManager.merge(model);
                  } catch (Exception exp) {
                         LOGGER.error("Exception occured");
                            }
                  return docModel;
           }
</code></pre>

<p>Column Datatype in Table : VARCHAR2(256 CHAR)</p>

<p>Name before saving into DB : février.xlsx</p>

<p>Name saved DB : fÃ©vrier.xlsx</p>

<p>I have tried to inserted in DB manually with insert statement. It is getting inserted correct but when inserted from application it's incorrect.</p>