[CONPY-7] use utf8mb4 for exchange with server Created: 2018-07-24  Updated: 2019-12-19  Resolved: 2019-12-19

Status: Closed
Project: MariaDB Connector/Python
Component/s: Generic
Affects Version/s: None
Fix Version/s: 0.9.52

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None


 Description   

current implementation for utf8 use : https://github.com/9EOR9/mariadb-connector-python/blob/master/src/mariadb_connection.c#L337

2 issues :

  • default communication with the server has to use utf8mb4, not utf8mb3.
  • there is normally no need of this additional query to set communication charset. That has to be set with greeting packet.

Generated at Thu Feb 08 03:29:33 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.