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