Skip to content

Commit

Permalink
Improve documentation regarding encodings.
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-tuininga committed Jun 16, 2017
1 parent d008553 commit 3987435
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions doc/src/module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,15 @@ Module Interface
the password for the logon during the connection process.

The encoding argument is expected to be a string if specified and sets the
encoding to use for regular database strings.
encoding to use for regular database strings. If not specified, the
environment variable NLS_LANG is used. If the environment variable NLS_LANG
is not set, ASCII is used.

The nencoding argument is expected to be a string if specified and sets the
national encoding to use for national character set database strings.
encoding to use for national character set database strings. If not
specified, the environment variable NLS_NCHAR is used. If the environment
variable NLS_NCHAR is not used, the environment variable NLS_LANG is used
instead, and if the environment variable NLS_LANG is not set, ASCII is used.

The edition argument is expected to be a string if specified and sets the
edition to use for the session. It is only relevant if both the client and
Expand Down Expand Up @@ -141,10 +146,16 @@ Module Interface
about 10-15% which is why the default is False.

The encoding argument is expected to be a string if specified and sets the
encoding to use for regular database strings.
encoding to use for regular database strings. If not specified, the
environment variable NLS_LANG is used. If the environment variable NLS_LANG
is not set, ASCII is used.

The nencoding argument is expected to be a string if specified and sets the
national encoding to use for national character set database strings.
encoding to use for national character set database strings. If not
specified, the environment variable NLS_NCHAR is used. If the environment
variable NLS_NCHAR is not used, the environment variable NLS_LANG is used
instead, and if the environment variable NLS_LANG is not set, ASCII is used.


The edition argument is expected to be a string, if specified, and sets the
edition to use for the sessions in the pool. It is only relevant if both the
Expand Down

0 comments on commit 3987435

Please sign in to comment.