SAP Knowledge Base Article - Preview

2478345 - Python unknown encoding error when loading charset "eujis" - SDK for SAP ASE

Symptom

  • When connecting to ASE with SAP Python Module using charset "eucjis", the program fails and outputs an error message. 
  • Error:
    • Traceback (most recent call last):
    • File "<stdin>", line 1, in <module>
    • LookupError: unknown encoding: eucjis


Read more...

Environment

  • SAP Sybase Software Developer Kit (SDK) 15.7 
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0 
  • SAP Adaptive Server Enterprise (ASE) 15.7 and 16.0
  • Python
  • Linux on x86_64 64 bit
    • Redhat EL 3.0, 4.0, 5.0, 6.0 ,7.0
    • SuSESLES 9, 10, 11

Product

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

Keywords

OCS, "SAP ASE", Developer's, Adaptive Server Enterprise SDK, Developers, open client, sybpydb , 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.