search for: character_set_

Displaying 2 results from an estimated 2 matches for "character_set_".

2015 Mar 11
2
Fixing broken UTF-8 handling with MySQL driver
...owing popped up in sieve.log. (This example query should return "Entw?rfe".) error: folder name specified for fileinto command is not utf-8: Entw?rfe. Although my MySQL installation is set up to use UTF-8 as the default charset on every level (config, database, table and field), and the character_set_* runtime variables all yield the value "utf8", it still seems that the mysql client library must be instructed to actually use UTF-8 explicitly. Adding the following statement to driver_mysql_connect() fixes the issue for me: mysql_options(db->mysql, MYSQL_SET_CHARSET_NAME, "utf8...
2015 Mar 12
0
Fixing broken UTF-8 handling with MySQL driver
On 11 Mar 2015, at 21:31, Felix Zandanel <felix at zandanel.me> wrote: > > Although my MySQL installation is set up to use UTF-8 as the default charset on every level (config, database, table and field), and the character_set_* runtime variables all yield the value "utf8", it still seems that the mysql client library must be instructed to actually use UTF-8 explicitly. Adding the following statement to driver_mysql_connect() fixes the issue for me: > > mysql_options(db->mysql, MYSQL_SET_CHARSET_NAME,...