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

Mark Hammond MarkH at ActiveState.com
Sat Mar 10 19:54:52 EST 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