Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fail to convert between UTF8 and UCS2: failUTF8Conv

 
Shashi Prakash
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

From my JSp page I am getting this exception --

java.sql.SQLException: Fail to convert between UTF8 and UCS2: failUTF8Conv


Can you pelase help me with this. I don't have any idea what is this about..
[ August 03, 2007: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65225
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SQL exceptions have nothing to do with JSP. Moved to the JDBC forum.
 
Michael Ku
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try searching with Google on "failUTF8Conv"

I found a lot of information.
 
Scott Selikoff
author
Saloon Keeper
Posts: 4028
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That type of error is usually related to a character set issue, the character set the data is stored in the database is different from how its read. You may want to use a more native format for reading the data such as getBytes() and/or change the character encoding for the system.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic