• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unrecognized CHARSET - UnsupportedEncodingException

 
James Giroux
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Recently after setting up a new test environment for our application we received the following error when we tried to start the application:

SQLException: SQLState(JZ00L)
SQLWarning: reason(JZ0I5: An unrecognized CHARSET property was specified: cp850.) SQLstate(JZ0I5) vendor code(0)
SQLWarning: reason(JZ006: Caught IOException: java.io.CharConversionException: java.io.UnsupportedEncodingException: Cp850) SQLstate(JZ006) vendor code(0)
getConnection failed: java.sql.SQLException: JZ00L: Login failed. Examine the SQLWarnings chained to this exception for the reason(s).

After a couple hours of going around in circles, we finally resolved the problem by moving to a later version of the sdk and runtime. We went from version 1.4.2 to 1.4.2_09. The problem seems to occur on Windows Server 2003, but not on Win 2000. Hope this helps save someone some time.
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What database and driver was this running against?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic