SAP Knowledge Base Article - Preview

2095295 - "Unsupported charset!" error occurs when using sjis in connection strings of ADO.NET application

Symptom

"Unsupported charset!" error occurs when using sjis in connection strings of ADO.NET application.

Exception: System.NotSupportedException: Unsupported charset!
 at Sybase.Data.AseClient.UnilibToWinCharSetIDMap.GetWinIDfromUnilibID(Int32 unilibID)
 at Sybase.Data.AseClient.DataInputStreamBuffer..ctor(IntPtr userHandle, AseCommand command, Int32 bufferSize, Int32 occupied)
 at Sybase.Data.AseClient.AseDataReader.SetupTdsResultSet()
 at Sybase.Data.AseClient.AseDataReader..ctor(AseCommand command, CommandBehavior commandBehavior)
 at Sybase.Data.AseClient1.AseCommand._ExecuteReader(CommandBehavior commandBehavior)
 at Sybase.Data.AseClient1.AseCommand.ExecuteReader()
 at Sybase.Data.AseClient.AseCommand.ExecuteReader()


Read more...

Environment

  • SYBASE SOFTWARE DEVLOPER KIT (SDK) 15.5, 15.7
  • SDK FOR SAP ASE 16.0

  • ASE ADO.NET Provider

Product

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

Keywords

ADO.NET, sjis, NotSupportedException, CR, 770861 , KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed

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.