On Sat, Apr 5, 2008 at 1:38 AM, LiDan <[EMAIL PROTECTED]> wrote:
>
>  I tried Xwiki standalone version 1.2 and 1.3, I met same problem.
>  I created a new link named in Chinese Characters in a page which name was
>  also in Chinese Character.
>  And when I clicked the link to edit the new page, the parent link could not
>  display correctly in the new page.
>  When I went back to the last page and check the URL of the link, I found
>  that the URL was like this:
>  /xwiki/bin/edit/Main/%E6%B5%8B%E8%AF%951?parent=Main.测试&editor=wysiwyg,
>  The main part of the URL is like %E6%B5%8B%E8%AF%951 but the value of the
>  parent parameter is in the original Chinese Character , why there are two
>  different encodings in one URL?
Different encoding in a url works fine. Thus just forget that.
>  And what confused me more is that this only happened in IE. In firefox, the
>  whole URL was in original Chinese Character
This doesn't matter. Firefox just changed the hole url encoding after
you cleck the link. IE doesn't. But those  both work fine. BTW, which
version IE do you use, IE6 or IE7?
The default encoding in xwiki is iso-8859-1 which can't display
Chinese characters. If you wana to Chinese works better, I suggest you
to change the encoding to UTF-8 or GB2312. You can refer this page
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding.
But either firefox or IE could work perfact to create Chinese link all the time.
I use firefox 2.0.0.13 and IE 7.
IE 7 works fine when create Chinese link from the url adress bar.
Working with Chinese link, IE 7 works better when  change beteewn the
wysiwyg editor mode to text mode, while firefox give a worry link.
Firefox works well when create Chinese page from the Chinese link in a
page. But don't change the editor mode when you edit a page with
Chinese link.
I suggest to use the 'Create' form at the right bottom of the page to
create a new page with Chinese name if you know the exact parent page
name of the page or the page don't need a parent. That can avoid the
encoding problem. Furthermore, after changing the encoding to UTF-8 ,
creating a Chinese page from a Chinese named link in a page by using
firefox is recommended if you want to set the parent of the page
automaticly.
>
>  I also find that when I use export function, spaces and pages which named in
>  Chinese Character can not display crorrect name.
>
>  Could anyone tell me how to resolve these encoding problems, thank you very
>  much.
Sorry, but I don't know how to export Chinese content to *.xar file
correctly either. Actually, after I export the Chinese content, I just
can't import them to the xwiki, either in iso-8859-1 or UTF-8. It's
directed that the documents are skipped.
Once I can do that using xwiki 1.0.
>
>
>
>  --
>  View this message in context: 
> http://www.nabble.com/URL-encoding-problem-tp16494345p16494345.html
>  Sent from the XWiki- Dev mailing list archive at Nabble.com.
>
>  _______________________________________________
>  devs mailing list
>  [email protected]
>  http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
祝好!
盼回复!

Wang Ning
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to