Answer the question
In order to leave comments, you need to log in
Why is “something” unreadable displayed instead of Russian text when accepting a text form with JSP?
On the JSP page, the user enters his data, which is subsequently rewritten in the database, but as soon as I start reading any Russian text, it does not matter the user himself writes or selects one result from the list - something is not legible, as if the encoding was violated. I work on Java 6 through Intellij idea and Tomcat 7. Tell me what it could be and how to fix it? Changing the encoding in IDEA did nothing,
Answer the question
In order to leave comments, you need to log in
Try setting HttpServletRequest setCharacterEncoding("UTF-8"); before extracting data from it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question