freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Frediano Ziglio <freddyz77 AT tin.it>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] iconv message suppression
- Date: Sun, 30 Nov 2003 12:05:28 -0000
Il dom, 2003-11-30 alle 12:03, Alex Kiesel ha scritto:
> On Sun, 2003-11-23 at 10:18, Frediano Ziglio wrote:
>
> > >I committed the ct-lib univarchar patch separately. On faith. No way for
> > >me to test.
> > >
> >
> > The same. I don't like some thing in implementation
> > - Sybase do not have CS_UNIVARCHAR_TYPE constant but only CS_UNICHAR_TYPE
> > - SYBUNIVARCHAR it's not a server type
> > - there are no conversion from UTF16 to client
>
> Hi all,
>
> the attached patch improves the uni(var)char support:
> . a new TDS_USER_TYPE enum has been added (it contains the usertypes
> USER_UNICHAR_TYPE and USER_UNIVARCHAR_TYPE)
> . removed the constant SYBUNIVARCHAR
> . the columns data now gets properly decoded from UTF-16 to the client
> charset (successfully tested with iso-8859-1 and UTF-8).
>
> I'd be happy if someone could look into it.
>
> Thanks,
> Alex
Applied (with small changes).
However I have a question. SYBLONGBINARY expect 4 len bytes... Does you
declare a length with univarchar (like "DECLARE @s UNIVARCHAR(200)" ) or
univarchar is like a TEXT (you can put up to 2G characters) ??
It's not so good to use ucs2 for utf16 but it can work...
freddy77
-
[freetds] iconv message suppression,
James K. Lowden, 11/22/2003
- <Possible follow-up(s)>
-
Re: [freetds] iconv message suppression,
Frediano Ziglio, 11/23/2003
- Re: [freetds] iconv message suppression, James K. Lowden, 11/23/2003
-
Re: [freetds] iconv message suppression,
Alex Kiesel, 11/30/2003
-
Re: [freetds] iconv message suppression,
Frediano Ziglio, 11/30/2003
-
Re: [freetds] iconv message suppression,
Alex Kiesel, 11/30/2003
-
Re: [freetds] iconv message suppression,
James K. Lowden, 11/30/2003
- Re: [freetds] iconv message suppression, Frediano Ziglio, 11/30/2003
-
Re: [freetds] iconv message suppression,
James K. Lowden, 11/30/2003
-
Re: [freetds] iconv message suppression,
Alex Kiesel, 11/30/2003
-
Re: [freetds] iconv message suppression,
Frediano Ziglio, 11/30/2003
Archive powered by MHonArc 2.6.24.