Hi All

In xmlOutputBufferWrite function the encoding conversion is done if and only
if the used size of the buffer is greater than the MINLEN (4000)

or the number of characters to be written currently is not equal to the
total number of characters to be written. Hence when the total no of 

Characters to be written to the buffer is less than or equal to the four
times of MINLEN (4000) encoding conversion never happens until the used 

Buffer size exceeds 4000.

I am not getting why it is so. 

if (out->encoder != NULL) {        

chunk = len;

......

.....

if ((out->buffer->use < MINLEN) && (chunk == len))

              goto done;

......

Conversion Logic is Here

.....

}

 

Thanks and Regards

       Rabi

 

 

 

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to