HttpEncodeHtml


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




 
Translate a text to a html string with "&#XX;" statements. Multiple spaces will be translated into sequenzes of 0x20 and 0xA0 chars.

 
pText is the text statment.
 
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.

 

i.e.    "x  xÖx" will be translated into "x  xÖx"
 

   

 

see also:

AzHttp Overview | HttpEncodeString