Summary: | ASTERISK-16644: nonlatin strings are not retrieved | ||
Reporter: | qmax (qmax) | Labels: | |
Date Opened: | 2010-09-02 18:10:03 | Date Closed: | 2010-10-08 09:57:59 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Addons/res_config_mysql |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | when agents.conf is configured as realtime static, the table may contain agent names in nondefault(?) encoding. connection does not specify charset and text values in nonlatin encoding are not retrieved correctly ****** ADDITIONAL INFORMATION ****** one have to put mysql_options(&conn->handle, MYSQL_SET_CHARSET_NAME, "utf8"); in res_config_mysql.c:mysql_reconnect This probably should be config option. | ||
Comments: | By: Digium Subversion (svnbot) 2010-10-08 09:42:58 Repository: asterisk-addons Revision: 1133 U branches/1.4/apps/app_addon_sql_mysql.c U branches/1.4/cdr/cdr_addon_mysql.c U branches/1.4/configs/cdr_mysql.conf.sample U branches/1.4/configs/res_mysql.conf.sample U branches/1.4/res/res_config_mysql.c ------------------------------------------------------------------------ r1133 | espiceland | 2010-10-08 09:42:57 -0500 (Fri, 08 Oct 2010) | 4 lines Add option to specify a character set that MySQL should use. (closes issue ASTERISK-16644) Reported by qmax. ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk-addons?view=rev&revision=1133 By: Digium Subversion (svnbot) 2010-10-08 09:57:58 Repository: asterisk-addons Revision: 1134 U branches/1.6.2/apps/app_addon_sql_mysql.c U branches/1.6.2/configs/res_mysql.conf.sample U branches/1.6.2/res/res_config_mysql.c ------------------------------------------------------------------------ r1134 | espiceland | 2010-10-08 09:57:58 -0500 (Fri, 08 Oct 2010) | 5 lines Add option to specify a character set that MySQL should use. (closes issue ASTERISK-16644) Reported by qmax. ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk-addons?view=rev&revision=1134 |