In a message regarding Re: load image into REALSQLdatabase dated Mon, 5 Jun
2006 13:17:53 +1000, Dr Gerard Hammond said that ...

> OK, so I took the small jpg file, conveted it into a string (via a
> lib from Norman [EMAIL PROTECTED] and then I Base64
> encoded the image.

If you're using EncodingBase64, make sure you set the optional lineWrap
parameter to 0
encodedText = EncodingBase64(utf8text, 0)

By default, EncodingBase64 adds lineBreaks every 76 characters, which SQL
probably doesn't like very much.

--
Steve Garman
Using REALbasic 2006r2 Professional on Windows XP Pro


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to