Skip to Content.
Sympa Menu

freetds - [freetds] Re: FreeTDS digest, Vol 1 #30 - 2 msgs (Out of the Office)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Chad Tullis" <CTULLIS AT arvest.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Re: FreeTDS digest, Vol 1 #30 - 2 msgs (Out of the Office)
  • Date: Sun, 08 Dec 2002 11:01:34 -0600

I will be out of the Office the week starting December 8th. If you need
immediate assistance please contact the Arvest Help Desk at
501-750-6900.


Thanks,
Chad Tullis

>>> freetds 12/08/02 11:00 >>>

Send FreeTDS mailing list submissions to
freetds AT lists.ibiblio.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.ibiblio.org/mailman/listinfo/freetds
or, via email, send a message with subject or body 'help' to
freetds-request AT lists.ibiblio.org

You can reach the person managing the list at
freetds-admin AT lists.ibiblio.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of FreeTDS digest..."


Today's Topics:

1. RE: collate and TDS8 (Frediano Ziglio)
2. Re: collate and TDS8 (James K. Lowden)

--__--__--

Message: 1
Subject: RE: [freetds] collate and TDS8
From: Frediano Ziglio <freddyz77 AT tin.it>
To: FreeTDS <freetds AT lists.ibiblio.org>
Organization:
Date: 07 Dec 2002 18:26:40 +0100
Reply-To: freetds AT lists.ibiblio.org


--=-uGRiBr9YRwlH0sXqO20t
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


> > > > > - 2 bytes ???
> > > >
> > > > My next two bytes are always 00 01:
> > > >
> > >
> > > Mines are 0d 00 (0xd0 in LE??)...
> > > Full lcid on windows as also sort (bits 19-16) and version
> > > (bits 23-20)
> >
>
> Perhaps
> Mine 0xd0 -> 0000 0000 1101 0000 -> third: 1 width insensitive 1
> katatype insensitive 0 accent sensitive 1 case insensitive
> Yours 0x100 -> 0000 0001 0000 0000 -> second: 0 0 0 1 binary third
0000
> all insensitive.
> Other bits ??
>

Last nibble of bytes 2-3 is language modifier. Last byte is id or 0
Other bits confirmed, see also attachment (extracted from query I send
in previous mail)

So now we know all bits of collation info. Problem is to use all info
and how...

freddy77


--=-uGRiBr9YRwlH0sXqO20t
Content-Disposition: attachment; filename=show.txt.gz
Content-Type: application/x-gzip; name=show.txt.gz
Content-Transfer-Encoding: base64

H4sICEwt8j0AA3Nob3cudHh0AI2cXY/byBFF3/Mr9jlAAPFT5COH5GwcZQMndJJHQ2sr8WDHo4U8
u5vk12c0I7JONau6CRjwwz11u9hzu0lJLe3KrP9ul+123738+8N333WPPx6fHo5PH+/e/eX3v9u9
qrv7ldq/+9i9W/S9rX/857Qgdw5yEKRwERoNJiV6Zeu0aB0EvWQuQqNxTU2cl9rWadE5CHrJXYRG
vUmJXto6LRoHQS/rnMzIzWiXqTRdjj8+fJqzdNWQpTdtSdKrurdUWCNHBA4CFA5Ak8FgRK0sleWt
CaCHzAFoMobMxHmoLZXlnQmgh9wBaNIbjKilpbK8MQH0EOZAZ6XZlcxK/+Xh6fTt9PH93/pbYF4B
CQyBOTVvyN5FMJJEZ00dhCpiFO0GDxSkchEatT6FvrIYRbvRBCfOV+0iNOp8Cn3lMYp2vQcKUroI
jRqfQl9mrswA5gY4PV/OP510DiNcEMcUqVKZhBnODbDKaIJHVFOkSmwSZnA3wCq/MV7HOEWqNCdh
hnoDrLKd4BHxFKmSnoQZ+A3wvHu/5r4I+A/Hh9+uD37nn89fz/86L3ft1/CnYLmNv66ATTi62d1t
qzhIRbG1gsMMW4oErzbhHKDdVoHryLZWcJgxWTTx71FvwjlAt60C15FvreAw/ZYiwctNOAdotlXg
OpLrwlxM4d3mVqTuI6X9PKPRYCFtgNUy2sJzEW3j1RJKl2ABbYDV8tnCc/Fs49XSSZTohbMBVstm
C89Fs41XSyZdggWzAVbLZQvPxbKNn19ldmqpXM7HZ77V0KnVMavyVkOnFoTSMQDWgEYOghQuQqPB
pESvbJ0WrYOgl8xFaDSuqYnzUts6LToHQS+5i9CoNynRS1unReMg6GWdkzBNrUrTfy8P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z2xf18ofB
K+fgZj2/lK/vfPat7/8DMhQB92lwAAA=

--=-uGRiBr9YRwlH0sXqO20t--


--__--__--

Message: 2
Date: Sun, 8 Dec 2002 10:15:40 -0500
From: "James K. Lowden" <jklowden AT schemamania.org>
To: freetds AT lists.ibiblio.org
Cc: freddyz77 AT tin.it
Subject: Re: [freetds] collate and TDS8
Reply-To: freetds AT lists.ibiblio.org

On 07 Dec 2002 18:26:40 +0100, Frediano Ziglio <freddyz77 AT tin.it> wrote:
>
> > Mine 0xd0 -> 0000 0000 1101 0000 -> third: 1 width insensitive 1
> > katatype insensitive 0 accent sensitive 1 case insensitive
> > Yours 0x100 -> 0000 0001 0000 0000 -> second: 0 0 0 1 binary third
> > 0000 all insensitive.
> > Other bits ??
> >
>
> Last nibble of bytes 2-3 is language modifier. Last byte is id or 0
> Other bits confirmed, see also attachment (extracted from query I send
> in previous mail)
>
> So now we know all bits of collation info. Problem is to use all info
> and how...

Frediano,

Nice work! Does this represent what we now know?

typedef struct
{
TDS_SMALLINT locale_id; /* master..syslanguages.lcid */
TDS_UCHAR unknown;
TDS_UCHAR sort_flags; /* high nybble only */
TDS_UCHAR charset_id; /* or zero */
} TDS8_COLLATION;

/* SF stands for "sort flag" */

#define TDS_SF_WIDTH_INSENSITIVE (TDS_UCHAR) 0x80
#define TDS_SF_KATATYPE_INSENSITIVE (TDS_UCHAR) 0x40
#define TDS_SF_ACCENT_SENSITIVE (TDS_UCHAR) 0x20
#define TDS_SF_CASE_INSENSITIVE (TDS_UCHAR) 0x10

--jkl


--__--__--

_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds


End of FreeTDS Digest


The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential or privileged material.
Any review, distribution, or other unauthorized use of the information by
persons or entities other than the intended recipient is prohibited. If you
received this communication in error, please contact the sender and delete
the material from any computer.




  • [freetds] Re: FreeTDS digest, Vol 1 #30 - 2 msgs (Out of the Office), Chad Tullis, 12/08/2002

Archive powered by MHonArc 2.6.24.

Top of Page