Comments - MYSQL_SET_CHARSET_NAME option usage

1 year, 4 months ago jean-pierre RIBEAUVILLE

Hi, Thx for your prompt answer . Yes , it's my current idea.. I'm now wondering how to enable debug functions in the connector to see what happens there.( I've posted a question related to that).

Other "rough idea " is to modify the code to force utf8 character_set , for testing purpose .

J.P.

 
1 year, 4 months ago jean-pierre RIBEAUVILLE

Hi,

1) I will do a test by inserting this call in my application :

mysql_optionsv(mysql, MYSQL_SET_CHARSET_NAME, (void *)"utf8");

2) if test is positive , I"ll create an option file used here :

mysql_options(mysql, MYSQL_READ_DEFAULT_FILE, tmp);

I'm wondering what I have to set in this file ; is it correct to put this lines in this file ?

[client-mariadb] MYSQL_SET_CHARSET_NAME="utf8"

Thx for help. J.P.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.