[CONC-261] Missing utf8mb4 support in mysql_set_character_set mariadb API Created: 2017-06-12  Updated: 2023-03-03  Resolved: 2017-07-05

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Corrado Sansone Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by CONC-186 utf8mb4 support Closed

 Description   

Hi all, if I compile my program using libmysqlclient library I have no issue at all but if I try to compile it with maridb lib (version for ubuntu 16.04 taken by your repos), it says that utf8mb4 is not supported by mysql_set_character_set function.
Actually I'm using mariadb server 10.1 as server and if i use mysqlclient library I can save and retrieve any type of emojy or stange arabic char. I would like to use mariadb client library for my client but it lacks the possibility to set this character set.
I searched also here https://mariadb.com/kb/en/mariadb/mysql_set_character_set/ where indeed this charset is missing too (thats whay I would not call this issue a 'Bug').
Do you think you will add support for this charset in the future? If yes may I ask you when?

Kind regards



 Comments   
Comment by Corrado Sansone [ 2017-06-12 ]

I forgot to say I'm using C language!

Comment by Corrado Sansone [ 2017-07-04 ]

Had someone even seen this bug?!

Comment by Georg Richter [ 2017-07-05 ]

Fixed in https://mariadb.com/kb/en/mariadb/mysql_set_character_set/

Character set utf8mb4 is supported in both Connector/C 2.3 and 3.0 series, however documentation wasn't up to date.

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