Skip to content

Commit f2f2ed9

Browse files
Update documentation for querying corrupt data.
1 parent 065d8ba commit f2f2ed9

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

Diff for: doc/src/user_guide/sql_execution.rst

+3-8
Original file line numberDiff line numberDiff line change
@@ -744,15 +744,10 @@ Querying Corrupt Data
744744
If queries fail with the error "codec can't decode byte" when you select data,
745745
then:
746746

747-
* Check your :ref:`character set <globalization>` is correct. Review the
747+
* Check if your :ref:`character set <globalization>` is correct. Review the
748748
: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".
756751

757752
* Check for corrupt data in the database.
758753

0 commit comments

Comments
 (0)