I met another encoding problem. In firefox, I edited a page by wysiwyg
editor, when I saved the page, all the links with Chinese name are ill
formated(the href part).So you can not get the right page by click a link.
But in IE, there is no such problem. So I checked the wysiwyg editor to find
where the hrefs begin ill-formated. Finally I found the file
wiki_editor/plugins/core.js After line 173, I add a new line.
href = this.trimString(att["href"]);
href=decodeURI(href);//added by lidan, decode URI
Then tested again, it's OK, the problem's gone.
I didn't go deeply why only in firefox there is such problem. I don't know
if others have met the same problem. If you do, you can try this way, it may
help.
I have been implementing my own wiki based on xwiki for about several
months. Normally, xwiki is a very good product. But when I'm trying to
implemented it in my language, Chinese, I met many encoding problems.
Fortunatelly I can get help from this forum, and many of the problems has
been fixed.
In my experience, there are several factors will affect the encoding, the
operation system, web server, web server configuration, xwiki configuration,
your web-browser. But it seems that you can not find a general way to fix
all the problems. Sometimes you should deal with them one by one.
--
View this message in context:
http://www.nabble.com/How-I-fix-another-encoding-problem-and-my-experience-…
Sent from the XWiki- Dev mailing list archive at
Nabble.com.