> Anyway,I've spend a good bit of time trying to track this all down,
> but the fix is not simple... It will have to wait till next week. I
> don't have a quick solution. In the mean time, you may just have to
> add a $query = BOLTurl2utf($query); line to your function. It won't
> hurt anything should I find a way to fix it, and you get instant
> functionality now.

I did already. Its a simple fix, but I've had to apply it basically
any time I've ever wanted to get a bit more out of boltwire, either in
my own plugins or as bug reports. It really getting in the way of the
"should just work" feeling boltwire otherwise upholds.

Currently, the source of every page seems to be sent through
BOLTurl2utf. %b3 should surely not be converted when in a page?


> Cheers,
> Dan
>
> On Tue, Sep 22, 2009 at 5:34 AM, DrunkenMonk <[email protected]> wrote:
>
> > I have, in the past, often had problems with conversions from or to
> > the url encoding. Either this not being applied for certain things, or
> > as in this case applied for absolutely no reason. I am currently
> > having difficulty because {+:title} return url-encoded strings:
>
> > [(list "titleWithÖ" template=line)]
>
> > [[#line]]
> > [(mysql user "SELECT * FROM table WHERE category='{+:title}'")]
> > [[#end]]
>
> > The title is being recoded FROM utf-8 TO the url encoding. Feel my
> > pain: I generated the list from the same mysql table not 2 lines
> > prior.
>
> > The whole thing is starting to annoy me. I mean, surely it would be a
> > simple matter to keep all internal boltwire encoding to the same
> > thing, changing only *from* the url-encoding when reading a url which,
> > I believe, is done at one place (?vars), and changing *to* url
> > encoding only when accessing a file-name (boltloadpage, boltsavepage)
> > or creating a url (don't actually know where this is done). Whenever I
> > call or recieve output from a boltwire function I should be certain
> > that I'm getting utf-8. Anything else is madness (as in, driving me
> > mad).
>
> > I'm sorry if I sound a bit snippy. I just woke up, and was going to
> > cobble together the next stage of my project in 5 minutes before my
> > lecture, and once again had to deal with this.
>
> > Seriously, writing multilingual plugins is something of a nightmare
> > for me right now, and I believe it shouldn't be.
--~--~---------~--~----~------------~-------~--~----~
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