Accented characters stored in MySQL database

后端 未结 3 1950
逝去的感伤
逝去的感伤 2020-12-07 04:12

I have a webapp that stores French text -- which potentially includes accented characters -- in a MySQL database. When data is retrieved directly through PHP, accented chara

3条回答
  •  离开以前
    2020-12-07 04:51

    You could set the Collation of the database fields containing the accented character to utf8_general_ci to support them.

    Eventually you can set the collation of the database as well, so all fields are set by default.

提交回复
热议问题