• Post Reply Bookmark Topic Watch Topic
  • New Topic

Japanese encoding problem

 
Smitha Kochunny
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I want to display static japanese script on my jsp page as well as insert and retrieve data in japanese script.But currently when i use

<%@ page contentType="text/html; charset=utf-8" pageEncoding="MS932" %>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

It displays japanese script.

The database that i am using is SQL Server2000.When inserted (japanese script) from the back end it gets displayed properly.But when i try to insert some japanese script through my jsp page it decodes and goes into the database in some other form,But while retrieving the same data it does not decode it back to its previous form(In japanese script).
The value that gets displayed is some what of the form (???)
The Servers that i m using are JBoss-2.4.9 and Tomcat-4.1.

Please if some one has the solution give it to me ASAP.Japanese Programmers please help if u have to do some settings in the database or server.

Thanks,
Smitha.
 
Gavin Zhao
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try pageEncoding="SHIFT-JS"!
japanese is sb!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!