Subject Re: [Firebird-Java] Picture Servlet Problems possibly OT
Author William L. Thomson Jr.
On Thu, 2003-06-05 at 14:45, Blas Rodriguez Somoza wrote:
>
> I you are talking about images, then your BLOB must be sub_type 0 and
> not the driver nor the engine should do any character conversion.
>
> Please confirm the sub_type you are using.

Yes, I am using sub_type 0. I also use sub_type 1 for Text. I do not
have any problems with the text?

I just came across a post on ib-support a while back. I then changed the
default font of the my development linux server to the one of the
production one. Which seems to not be defined? But ends up being
ISO8859-1 or something like that. That resolved the problem in the
development machine.

I just changed the lc_ctype to ISO8859_1, and it appears to have
resolved me problem as well on the win2k machines as well. I then
reverted the linux development server back to UTF8, using the lc_ctype
of ISO8859_1 and it works fine now as well.

So I guess ASCII binary can easily convert to ISO8859-1 which can then
be read on a system with a UTF8 default character set. For some reason
only with binary sub_type 0 data is there conversion problems systems
with default UTF8 character sets? Or something like that.

Is that normal behavior?

--
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