[Gambas-user] Converting a POST string

Benoît Minisini gambas at ...1...
Fri Jul 19 18:02:16 CEST 2013


Le 19/07/2013 17:43, Rolf-Werner Eilert a écrit :
> 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
>

One by one. Or fix your HTTP client!

-- 
Benoît Minisini




More information about the User mailing list