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

can't export and import Chinese content correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 1.3.1, 1.4 M1
    • Old Core
    • linux and windows, tomcat and jetty, mysql and postgresql
    • encoding, chinese, import, export

    Description

      when export the xwiki documents named by Chinese use uft8 encoding, the names contained in the xar file are not correct. Furthermore, when import the xar to xwiki, It directs that the documents are all skipped.
      The console say that:
      2008-04-06 14:21:12,054 http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki [http-8080-3] ERROR log.SimpleLog4JLogSystem - Left side ($request.withversions) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. /templates/importinline.vm [line 16, column 73]

      I have change all the encoding to UTF-8, in mysql, tomcat, xwiki.cfg, web.xml, hiberante.cfg.xml.

      However, I check the data in mysql directly, I found the Chinese data actually display very well.
      I think the import/export module don't address the encoding problem.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              daning Wang Ning
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: