I've thinking that the %-encoded code should ONLY saved in one place - the file name in file system. Other then that, inside the content of a page, no matter it is interwiki link, info data, index or anything, it should save as normal utf-8 texts.
While the interwiki link is rendered to html link, %-encoding is executed at this moment. Is my understanding right or wrong? Cheers, linly On 3月11日, 下午1時05分, Linly <[email protected]> wrote: > > (do info variables work with higher > > utf-8 characters?) > > Interesting situation here. > > 1) How [(info)] treat Chinese page names? > > If I use this form > <code> > [form] > [text target size=25] > [submit] > [session create] > [session nextpage {=target}] > [session info "field='{=target}' value='test 一二' > target='info.infotest'"] > [form] > </code> > > I can create new page and save an info data to page "info.infotest". > If I create a page named "一二", it appeared in info.infotest as this: > > %e4%b8%80%e4%ba%8c: test 一二 > > The field is % encoded, and the value is direct Chinese. Can I > retrieve the value? The answer is no. Use this markup in page "一二": > > {info.infotest::{p}} > > It appeared as this: "{info.infotest::一二}". No value returned. > > 2) Is info counter work or not? > > It's weird that info counter can write direct Chinese to the field. > the "info.counter" showing this line: > > 一二: 111 > > The field name is direct Chinese, but the value part is not right. > Actually I only view the page three times. Somehow info counter can > not add the pageview by sum it up, but adding 1, 1, 1, all the time. > > Cheers, linly --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
