Python, ASP, ADO, and Image string/binary problems

Mark Hammond MarkH at ActiveState.com
Sun Mar 11 01:54:52 CET 2001


Shonn Gilson wrote:

> If I do a Response.BinaryWrite(bstrIn) I get the image in the browser but if
> I do Response.BinaryWrite(bstrOut.getvalue()) I get spaces between every
> character (I've seen this with unicode problems). It's not just an

Try using BinaryWrite(buffer(bstrOut.getvalue()))

Mark.




More information about the Python-list mailing list