It appears utf8mb4_general_ci was chosen as the default. Some users may wish to choose utf8mb4_unicode_ci. Maybe this can be specified in the drush command?

See: http://stackoverflow.com/questions/766809/whats-the-difference-between-u...

Comments

jduhls created an issue. See original summary.

jduhls’s picture

Title: allow option for utf8mb4_unicode_ci » allow option to specify collation
stefan.r’s picture

Im fine with it being an option, if someone can write patch please

jduhls’s picture

Patch allows options --charset and --collation. The options are not required. Defaults charset as "utf8mb4" and collation as "utf8mb4_general_ci". I have successfully tested with drush utf8mb4-convert-databases --collation=utf8mb4_unicode_ci and also drush utf8mb4-convert-databases --charset=utf8 --collation=utf8_general_ci.

  • stefan.r committed fd8d55b on 7.x-1.x authored by jduhls
    Issue #2764847 by jduhls: allow option to specify collation
    
stefan.r’s picture

Status: Active » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.