freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Brian Bruns" <camber AT ais.org>
- To: freetds AT franklin.oit.unc.edu
- Subject: RE: MS SQLServer 2000 and "for xml auto" command
- Date: Fri, 30 Aug 2002 06:38:55 -0400
Whether it's utf-8 or iso_1 (or another single byte char set) is a pretty
small difference to most of the code, we can still use all the standard C
functions on them. Sure there are some nuances of column size vs. data
size, but once dealt with the same code can apply to both (iso_1 becomes a
special case where colsize happens to equal data size).
UCS-2 is a much different animal though. It is very foreign to most unix
tools and libraries, and will need special code to deal with it.
Brian
> At 5:11 AM -0400 8/30/2002, Brian Bruns wrote:
> >I think UTF-8 is the way forward on this. The basic problem is what do
> >the unix apps support? It sure isn't UCS-2. If they support unicode
> >at all it's utf-8 and ucs-2 to utf-8 can be done losslessly. And then
> >there are crippled clients that need single byte char sets, I can't see
> >removing this for some years to come.
>
> The Sybase libraries don't seem to worry about clients that need
> single byte char sets if the encoding is set to be utf8. And I doubt
> those applications explicitly set the charset to anything, so they
> would break if I set my default charset to use utf8.
>
> In in the worst case, I'd say add a setting to freetds.conf that
> specifies if utf8 should be used internally, defaulting to true. Then
> those crippled clients could set that to false (since they'll have to
> setup a freetds.conf anyway).
>
> --
> __________________________________________________________________________
> "They that can give up essential liberty
> Mark J. Lilback to obtain a little temporary safety
> <mark AT lilback.com> deserve neither liberty or safety."
> http://www.lilback.com/ -- Benjamin Franklin
-
RE: MS SQLServer 2000 and "for xml auto" command
, (continued)
- RE: MS SQLServer 2000 and "for xml auto" command, Brian Bruns, 08/29/2002
- RE: MS SQLServer 2000 and "for xml auto" command, Frediano Ziglio, 08/30/2002
- RE: MS SQLServer 2000 and "for xml auto" command, Thompson, Bill D (London), 08/30/2002
- RE: MS SQLServer 2000 and "for xml auto" command, Brian Bruns, 08/30/2002
- RE: MS SQLServer 2000 and "for xml auto" command, ZIGLIO Frediano, 08/30/2002
- RE: MS SQLServer 2000 and "for xml auto" command, Thompson, Bill D (London), 08/30/2002
- RE: MS SQLServer 2000 and "for xml auto" command, Brian Bruns, 08/30/2002
- RE: MS SQLServer 2000 and "for xml auto" command, ZIGLIO Frediano, 08/30/2002
- RE: MS SQLServer 2000 and "for xml auto" command, Mark J. Lilback, 08/30/2002
- RE: MS SQLServer 2000 and "for xml auto" command, Brian Bruns, 08/30/2002
- RE: MS SQLServer 2000 and "for xml auto" command, Brian Bruns, 08/30/2002
- RE: MS SQLServer 2000 and "for xml auto" command, Chad Enney, 08/30/2002
- RE: MS SQLServer 2000 and "for xml auto" command, Winkless, Geoff, 08/30/2002
Archive powered by MHonArc 2.6.24.