[Gambas-user] Converting a POST string

Rolf-Werner Eilert eilert-sprachen at ...221...
Fri Jul 19 17:43:32 CEST 2013


Hi,

just bounced into this: When doing a POST request on a web form, the 
string input by the user is encoded in UTF-8 but as %high-byte%lowbyte 
such as "%C3%BC" for "ü".

How do I reconvert these worms to UTF-8 strings? Tried conv(), but 
didn't succeed yet. Is there a quick way, or do I have to pick out all % 
and convert them one-by-one?

Thanks for your help.

Rolf




More information about the User mailing list