Why CONCAT() does not default to default charset in MySQL?

前端 未结 2 1967
你的背包
你的背包 2021-01-11 12:10

What is the reason, that using CONCAT() in pure UTF-8 environment MySQL still treats concatenated string (when some col in expression is for example int or date) as some oth

2条回答
  •  终归单人心
    2021-01-11 13:11

    It probably is DBD::mysql issue/peculiarity. Try enabling utf8 in database handle as described in POD for DBD::mysql (mysql_enable_utf8 part).

    This old (Perl 5.8 times) article can also help.

提交回复
热议问题