* dAniel hAhler <[EMAIL PROTECTED]> writes:

> The problem is, that the Name is MIME(?) encoded, like this:
> Peter%20Palmreuther

> Is it possible to convert %20 back to space or any other special chars
> to its "real value"?

Python.

--8<---------------cut here---------------start------------->8---
%_tbvar="Peter%%20Palmreuther"

%Py("
import urllib

quoted_string = tb.macro(r'%%_tbvar')
print urllib.unquote(quoted_string)
")
--8<---------------cut here---------------end--------------->8---

Carsten
-- 


________________________________________________________

http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to