Re: [Gambas-user] problem with a file

2009-11-25 Thread nospam.nospam.nospam
Jean-Yves F. Barbier wrote: > nospam.nospam.nos...@gmail.com a écrit : >> Jean-Yves F. Barbier wrote: >> >>> Arrgh >> >> I wish I had a dollar for every time gambas has done that to me. >> >> Perhaps you might post the stored procedure. > > why? The string sent is the same as the one retrieved.

Re: [Gambas-user] problem with a file

2009-11-25 Thread Jean-Yves F. Barbier
nospam.nospam.nos...@gmail.com a écrit : > Jean-Yves F. Barbier wrote: > >> Arrgh > > I wish I had a dollar for every time gambas has done that to me. > > Perhaps you might post the stored procedure. why? The string sent is the same as the one retrieved. My PB's not there: it is in the str

Re: [Gambas-user] problem with a file

2009-11-25 Thread nospam.nospam.nospam
Jean-Yves F. Barbier wrote: > Arrgh I wish I had a dollar for every time gambas has done that to me. Perhaps you might post the stored procedure. -- Let Crystal Reports handle the reporting - Free Crystal Reports 20

Re: [Gambas-user] problem with a file

2009-11-25 Thread Jean-Yves F. Barbier
Jean-Yves F. Barbier a écrit : > Jean-Yves F. Barbier a écrit : > ... >> Could somebody tell me why this happens? > > I've the same problem with another file; so now I suspect the String > to be utf-8 and to throw me out before the end of the conversion > because of an odd combination of bytes.

Re: [Gambas-user] problem with a file

2009-11-25 Thread Jean-Yves F. Barbier
Jean-Yves F. Barbier a écrit : ... > Could somebody tell me why this happens? I've the same problem with another file; so now I suspect the String to be utf-8 and to throw me out before the end of the conversion because of an odd combination of bytes. O_o SWELL: TextStr = Conv(TextStr, "utf-8",

[Gambas-user] problem with a file

2009-11-25 Thread Jean-Yves F. Barbier
Hi, I read an .png file, transform it into Base64, write it to a PG DB table through a stored procedure (as TEXT), and retrieve it. My PB is: the original file length is 298 Bytes and my reading is 234 and I don't know why (whatever method I use instead od Base64, file's always truncated.) Her