UnicodeDecodeError 'utf-8' codec can't decode byte 0xc3 #33
-
| I have the code as follows: However, when running one particular query, I'm getting a "UnicodeDecodeError: 'utf-8' codec can't decode byte" exception. I see from the documentation page that encoding has defaulted to UTF-8. Any ideas on how to resolve this exception programmatically without making changes to the database? |
Beta Was this translation helpful? Give feedback.
Answered by anthony-tuininga Jul 18, 2022
Replies: 2 comments
-
| Take a look at this documentation. You should ignore the comment about using UTF-8 as that is stale from the conversion from cx_Oracle. python-oracledb uses UTF-8 internally at all times now! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by bburbidge
-
| Also see the documentation Fetching Raw Data. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Take a look at this documentation. You should ignore the comment about using UTF-8 as that is stale from the conversion from cx_Oracle. python-oracledb uses UTF-8 internally at all times now!