Subject | Re: [Firebird-Java] Picture Servlet Problems possibly OT |
---|---|
Author | William L. Thomson Jr. |
Post date | 2003-06-06T20:35:12Z |
Blas,
On Thu, 2003-06-05 at 18:53, Blas Rodriguez Somoza wrote:
>
> It seems from your code that you get the Blob with a getString() and this
> is the problem
I am not sure why in this servlet I used getString()?
> If you use getString() to get a value from a Blob column then the driver
> must do a character conversion between the character set in which the bytes
> are encoded and the one of the JVM.
Good to know.
> Please get the blob with getBytes() and most probably your problem will
> disappear.
I made the change, removed the lc_ctype specification for the
connection, and it works.
That was my problem. Always the obvious. Oh well, thanks anyway.
--
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios, Inc.
3548 Jamestown Ln.
Jacksonville, FL 32223
Phone/Fax 904.260.2445
http://www.obsidian-studios.com