[unixODBC-support] can not connect through php

jwan at ea.ucla.edu jwan at ea.ucla.edu
Tue May 4 17:59:07 BST 2010


Hi Nick

1) When I use tsql, it said

locale is "en_US.UTF-8"
locale charset is "UTF-8"

what does this mean?  who is using UTF-8? freetds or the SQL server

in the log:

iconv.c:197:names for ISO-8859-1: ISO-8859-1
iconv.c:197:names for UTF-8: UTF-8
iconv.c:197:names for UCS-2LE: UCS-2LE
iconv.c:197:names for UCS-2BE: UCS-2BE
iconv.c:363:iconv to convert client-side data to the "UTF-8" character set
iconv.c:516:tds_iconv_info_init: converting "UTF-8"->"UCS-2LE"
iconv.c:516:tds_iconv_info_init: converting "ISO-8859-1"->"UCS-2LE"

again, who is using what encoding?  the "client-side data" above does it
refer to the SQL server data ? or something eles?

2) when I run isql, in the log it said
User Name = [xxx][length = 6 (SQL_NTS)]
                        Authentication = [********][length = 8 (SQL_NTS)]
UNICODE Using encoding ASCII 'ISO8859-1' and UNICODE 'UCS-2LE'

again, what does this mean? who is using UNICODE?

Thank you

On Fri, Apr 23, 2010 at 3:16 PM, Nick Gorham <nick at lurcher.org> wrote:

> jwan at ea.ucla.edu wrote:
>
>> Nick,
>>  Thanks for responding:
>>  I did that.  The first part appear has error in log as follow:  ( if I
>> should send the whole file let me know)
>>
>
> I can only assume its failing to find the ini file or the driver conf file,
> its getting past unixODBC into the driver in all cases.
>
>
> --
> Nick
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at mailman.unixodbc.org
> http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20100504/7b14a3a4/attachment.html>


More information about the unixODBC-support mailing list