Skip to content

ERROR: 'utf-8' codec can't decode byte 0x85 in position 0: invalid start byte #336

Closed
@anthony-tuininga

Description

@anthony-tuininga

Discussed in #335

Originally posted by bnvader May 16, 2024
I am trying to use python oracledb to connect to Oracle Database that has encoding - ISO-8859-1.
I have a custom database type of type DB Table.
When I use thick client mode, I am able to directly use the DBObject.Attribute_Name to retrieve the attribute values from a row.
However this same step fails if I do not use thick mode.

I would like to have this working in thin mode as I want to eventually use this from a simple AWS Lambda function.

Has anyone been able to use thin mode to successfully decode non utf-8 encoded Oracle DB?
If so what is the secret?

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions