On Sat, Feb 21, 2009 at 1:57 PM, Linly <[email protected]> wrote:
>
> Hi Dan,
>
> I've tested the utf-8 tags solution exactly follow the step described
> at this page:
>
> http://www.boltwire.com/index.php?p=solutions.links.infotags
>
> I have good news and bad news. The good one is, it worked. I can set
> utf-8 tags, display them correctly, and the last part, clicking an
> utf-8 tag to list the pages with that tag. ALL goes well.
>
> And the bad news is, the "[(info tags "{(utf decode {p2})}"
> target=info.tags template="title")]" in "action.tag.missing" did not
> work. It shows no pages even I was clicking an English tag.
>
> I use another method to do the job:
>
> [(info report if="inlist {(utf decode {p2})} {info.tags::{+p}}"
> target=info.tags fmt='* [[{+p}|+]]')]
>
> Yes, [(info report)] can do the trick.


This is quite curious. Anytime you can set up a test page at BoltWire
to illustrate a problem it helps me to debug. Normally the
template=title is exactly equivalent to fmt=[[{+p}|+]] so I'm at a
loss. I could not seem to duplicate the issue. Glad it's working
though...

I'm still tinkering a bit with the UTF page names and have tightened
up the code to do a better job of going back and forth between the two
formats. Those fixes will be in the next release. Still, I must
confess it is not perfect--as someone can enter the equivalent of a
malformed utf pagename and it will mess up the link. But you almost
have to do it intentionally. I really need to get regular % encoding
working to eliminate this, but it will take some time to get past
various page name filters. And I'm not exactly sure where all the
kinks are.  The problem is, when we make that fix, any existing UTF
page names you have (during this testing phase) will become invalid.
Unless we write a little converter script. But then what about
links...

Well, we'll see what happens. We're definitely closer than I expected
to be at this point in time!

Cheers,
Dan

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to