[asterisk-dev] MySQL Realtime charset

Philipp Kempgen philipp.kempgen at amooma.de
Sun May 13 06:45:05 MST 2007


Hi,

I couldn't find any code in res_config_mysql.c which cares about
setting the right charset / collation for the MySQL connection.

Shouldn't there by some queries like
SET NAMES latin1
SET collation_connection=latin1_general_ci
or
SET NAMES utf8
SET collation_connection=utf8_general_ci
in mysql_reconnect() right before the return 1; (there might be
native functions to do that) ?

Please correct my if I'm wrong.

  Philipp

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
     Let's use IT to solve problems and not to create new ones.
           Asterisk? -> http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998


More information about the asterisk-dev mailing list