• Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 1.9.0 (alpha)
    • None
    • None

      db upgrade should convert tables to utf8.
      for mysql simple shellscript can be used :

      MYSQL="$(which mysql)"
      MYSQLPARAMS="$@"
      for i in $(echo "show tables;" | $MYSQL -N $MYSQLPARAMS); do
      echo "ALTER TABLE $i CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;" | $MYSQL $MYSQLPARAMS
      done

      in this example general collation is used.

      maybe db agnostic version is possible with direct sql

            Unassigned Unassigned
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: