0

My spring 3 application has a jsp page to insert non English(Sinhala) characters to the database. I have changed database column collocation to utf-8.

When I am inserting characters directly to the database, it is storing correctly as expected. But it is storing ????? when inserting though the jsp.

in my jsp page it has this line on the top of the page <%@ page contentType="text/html" pageEncoding="UTF-8"%>

Do I need to do anything else to store this non english charactors correctly?

mahedhanu
  • 175
  • 3
  • 14

0 Answers0