Skip to content
Advertisement

Tag: iso-8859-1

Convert latin1 characters on a UTF8 table into UTF8

Only today I realized that I was missing this in my PHP scripts: All my tables are InnoDB, collation “utf8_unicode_ci”, and all my VARCHAR columns are “utf8_unicode_ci” as well. I have mb_internal_encoding(‘UTF-8’); on my PHP scripts, and all my PHP files are encoded as UTF-8. So, until now, every time I “INSERT” something with diacritics, example: The ‘name’ contents would

Advertisement