This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem while storing Japanese characters in Oracle 9i

 
Hima Mangal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to store Japanese characters with Oracle 9i as the backend, with UTF-8 as the character set. The frontend used is JSP, which also has been given a character set encoding of UTF-8 using the following tags :

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

But the Japanese text input from the JSP get converted into the ASCII character set when I store them in the db.

Is there a way to set a property at the time of the JDBC connection which can help me store the Japanese text in UTF-8 format into the DB? I would greatly appreciate it if any of you can let me know such a way or any other workaround to this problem.

Thanks for the help.

Cheers
~H
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hima M,

Welcome to JavaRanch!

We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.

We request something more than a single letter for the last name.

Thanks Pardner! Hope to see you 'round the Ranch!
 
Hima Mangal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure.. did that.. wasnt aware i was breaking any rules!

now if someone could only answer my q!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic