SAP Knowledge Base Article - Preview

2119668 - ADO.NET: Unsupported charset failure when attempting to connect to ASE configured with sjis charset - SAP SDK


  • When connecting to SAP Adaptive Server Enterprise with charset=ServerDefault or if the Client side is set to use sjis and ClientCharset is set to sjis, there is a failure:

System.NotSupportedException: Unsupported charset!

  • The RIBO trace shows:

Exception in thread "main"
java.nio.charset.UnsupportedCharsetException: UnsupportedCharset
at java.nio.charset.Charset.forName(
at com.sybase.jdbc3.tds.SrvDataInputStream.setEncoding
at com.sybase.ribo.DumpTds.readToken(
at com.sybase.ribo.DumpTds.dumpToken(
at com.sybase.ribo.DumpTds.processTds(
at com.sybase.ribo.RiboMgr.doAnalyzer(
at com.sybase.ribo.RiboMgr.main(



  • SAP Adaptive Server Enterprise (ASE) 15.7
  • SAP Sybase Software Developers Kit (SDK) 15.7
  • SAP Software Developers Kit (SDK) for Adaptive Server Enterprise (ASE) 16.0
  • Adaptive Server Enterprise ADO.NET Data Provider
  • Visual Studio 2012 and earlier versions


SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; Sybase SDK 15.7 ; Sybase Software Developer Kit 15.7


Driver, Connection, OCS, CR#770861, CR770861, 770861 , KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.