Cannot store UTF8 characters in MySQL

前端 未结 6 1189
抹茶落季
抹茶落季 2021-01-06 14:38

Cannot find the reason why I am unable to store in a MySQL database characters like ţ, î, ş.

My table definition is:

CREATE TABLE IF NOT EXISTS `gen_         


        
6条回答
  •  醉话见心
    2021-01-06 15:29

    Does the last result you pasted come from MySQL Command-Line? If does, try SET NAMES utf8; before query SELECT * FROM gen_admin_words_translated

提交回复
热议问题