HttpEncodeString


HTTP_API int HttpEncodeString ( const char *pText , char *pTarget , int iSize , int iLen )



 
Translate a text to a http string with "%XX" statements. 

 
pText is the text statement.
 
pTarget is the buffer where the http string will be stored.
 
iSize is the size of the buffer.
 
iLen is the length of the text.
 
 

Returns the count stored chars chars.
 
 

i.e:     "x x" will be translated into "x%20x"


 

see also:

AzHttp Overview | HttpEncodeHtml