[freetds] codepage problem SOLVED
Spyros Ioakim
sioakim at ace-hellas.gr
Wed Jan 8 13:48:52 EST 2003
Exactly!
I'm inserting into a text field not a big string so it's ok for me.
Don't know if this is a bug of 7.0 or 8.0 but maybe it handles charset
differently.
I'm using ISO-8859-7 of course (Greek)
Regards,
Spyros
-----Original Message-----
From: freetds-admin at lists.ibiblio.org
[mailto:freetds-admin at lists.ibiblio.org] On Behalf Of ZIGLIO Frediano
Sent: Wednesday, January 08, 2003 1:14 PM
To: 'freetds at lists.ibiblio.org'
Subject: RE: [freetds] codepage problem SOLVED
>
> Without touching any files I changed in my script:
> From
> putenv('TDSVER=7.0');
> To:
> putenv('TDSVER=4.2');
>
> Now it works great! I changed it back to 7.0 and 8.0 and verified that
> the charset was wrong again.
>
> Thanks everybody for their help.
>
> Spyros
>
This is a workaround, not a correct fix.
TDS7/8 have other features that do not work using TDS4.2 (varchar of
more
that 255, RPC, dynamic query...)
I'm italian so I use default (Latin1) without any problem.
I don't understand your problem.
You are using varchar field (or nvarchar?), inserting something like
alpha-beta-gamma, and when you issue a select other characters return??
freddy77
=================================
"STRICTLY PERSONAL AND CONFIDENTIAL
This message may contain confidential and proprietary material for the
sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient please
contact
the sender and delete all copies.
The contents of this message that do not relate to the official business
of
our company shall be understood as neither given nor endorsed by it."
=================================
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
More information about the FreeTDS
mailing list