Skip to content

Use UTF-8 as default encoding instead of ASCII #409

@gvenzl

Description

@gvenzl

All other major databases use UTF-8 as the default characterset encoding for connections while cx_Oracle is using ASCII. Given how limited and rarely useful ASCII is these days, it makes more sense to follow "common convention" and Oracle's default since 11g: UTF-8

MySQL: https://dev.mysql.com/doc/connector-python/en/connector-python-connectargs.html
Postgres: https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-PARAMKEYWORDS (seems to determine the default from the server)
SQL Server: https://pymssql.readthedocs.io/en/latest/ref/pymssql.html#connection-class

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions