File tree 1 file changed +3
-8
lines changed
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -744,15 +744,10 @@ Querying Corrupt Data
744
744
If queries fail with the error "codec can't decode byte" when you select data,
745
745
then:
746
746
747
- * Check your :ref: `character set <globalization >` is correct. Review the
747
+ * Check if your :ref: `character set <globalization >` is correct. Review the
748
748
:ref: `database character sets <findingcharset >`. Check with
749
- :ref: `fetching-raw-data `. Consider using UTF-8, if this is appropriate:
750
-
751
- .. code-block :: python
752
-
753
- connection = oracledb.connect(user = " hr" , password = userpwd,
754
- dsn = " dbhost.example.com/orclpdb" ,
755
- encoding = " UTF-8" , nencoding = " UTF-8" )
749
+ :ref: `fetching-raw-data `. Note that the encoding used for all character
750
+ data in python-oracledb is "UTF-8".
756
751
757
752
* Check for corrupt data in the database.
758
753
You can’t perform that action at this time.
0 commit comments