'MariaDB Connector/J: default character encoding between client and the server
I'm wondering what the default character encoding between client and the server is, when not configured in connection properties. For MySQL I found the following documentation (see https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-charsets.html):
The character encoding between the client and the server is automatically detected upon connection (provided that the Connector/J connection properties characterEncoding and connectionCollation are not set). The encoding on the server is specified using the system variable character_set_server (for more information, see Server Character Set and Collation), and the driver automatically uses the encoding.
So far I couldn't find any documentation on how the MariaDB Connector/J handles this. I'm using MariaDB Connector/J version 3.0.4.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
