[xwiki-users] Encoding problems with Export
thomas.mortagne at xwiki.com
Thu Oct 27 08:24:53 UTC 2011
On Wed, Oct 26, 2011 at 7:22 PM, Yang Li <yang.lee.cool at gmail.com> wrote:
> 于 2011/10/27 1:16, Thomas Mortagne 写道:
>> On Wed, Oct 26, 2011 at 4:18 PM, Yang Li<yang.lee.cool at gmail.com> wrote:
>>> Hi all,
>>> We tried xwiki a month ago with the standalone vertion including jetty
>>> and hsqldb. And now we changed jetty to Tomcat for better performances
>>> which is easy. However, we also want to change the database from hsqldb
>>> to mysql because the there is a database size limit for hsqldb. But it
>>> is difficult. We tried to export the wiki pages (including the user
>>> registration infomation), however the pages with chinese characters as
>>> their names has encoding problems, that is, their contents are all right
>>> in utf8, however the names have disordered codes.
>> You sure your MySQL database use UTF8 charset ?
>> Where exactly to you see that page names are wrong ? After importing
>> the xar ? In the xar itself ?
> MySQL use utf8 for sure. After exporting the xar, I use winrar to open
> the xar files, where the page name are wrong.
If you are talking about the files names they could be anything it's
not very important, the real page name is in each xml file.
> However, when they are imported into the xwiki, the names become right.
>>> We also tried to use the Large Wiki Export, but got no lucky. It simply
>>> doest work at all :(
>> What error do you get ?
>> Note that if you are able to export your wiki with standard export UI
>> there is no reason to use large export script which is here only when
>> the wiki is too big for the allocated memory.
> The reason is that I want to change the database from hsqldb to mysql,
> and I can export but I cannot import
> from the standard import UI.
> The large wiki import worked once....and now doesn't work any more,
> which drives me mad : (
Same question: any error ? You should get some log of the import on server side.
>>> Any suggestions?
>>> Thank you all!
>>> users mailing list
>>> users at xwiki.org
> users mailing list
> users at xwiki.org
More information about the users