SAP Knowledge Base Article - Preview

2137221 - 'Unsupported charset!' error occurs when ADO.NET application has eucjis as charset in a connection string - SAP SDK

Symptom

"Unsupported charset!" error occurs when using eucjis as Charset 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 all versions

Keywords

ADO.NET, eucjis, NotSupportedException, 779762 , KBA , BC-SYB-SDK , SDK , 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.