Change Unicode to Big5 & GB in JSP

  • kinaa
  • Born
  • Born
  • kinaa
  • Posts: 1

Post 3+ Months Ago

Hi all

I am new in jsp, I would like to write a new page in chinese to support GB and JSP as well. Unicode is the best choice.

however i need to connect to existing data which the dbms written in asp. all the data in database in big5.

when i insert data to db via my jsp, the db shows the "#&211212," something like unicode, but when i retrieve to the existing db, i can read the data.

the problem is my page is in big5 (or GB), I add the following line
<%@ page contentType="text/html; charset=big5" %>
it can show my big5 character in my jsp (my data)
but it can't show the data from existing db.

when i remove it.
it can show.

can anyone help me how to solve this problem?



Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 26 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.