Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-4076

Database for a newly created wiki does not support utf8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.1, 2.0.5
    • 2.0 M1, 1.9.1
    • Storage
    • None
    • Unknown

    Description

      In XEM 1.7.1 with mysql, when one creates a new wiki, a new database is created, with "latin1_swedish_ci" collocation, while the current default encoding for databases and wikis is unicoe UTF8. As a result it is not possible to import UTF8 pages in the newly created wiki.

      latin1_swedish_ci is the default collation for mysql. Apparently, the database creation code does not specify the collation/encoding to be used. This encoding is available in xwiki.cfg.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              serasset Gilles Sérasset
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: