Re: conversion from binary string to base64
Date: Wed, 26 Sep 2007 22:16:47 +0200 (CEST)
On Wed, 26 Sep 2007, Marco Antonio wrote:
> Thank you very much for the help. I have found a good code-source for
> encode/decode strings. But now, there is one little problem: a encoded
> (base64) string is passed correctly, but when arrive to the server, every
> char "+" is changed by the char " ". For example:
> string goes from the client = "KwZH+NKwY39q+6OpIy"
> string arrives to the server = "KwZH NKwY39q 6OpIy"
> The only way that I've found momentarily is to change back to "+" in the
> server! This is a bad way! Could this problem be from libcurl or perhaps
libcurl doesn't touch the data it transfers. It sends whatever you ask it to
send. In url-encoding space is converted to + so I guess that's what your
receiving end is decoding or trying to decode.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-09-26