Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: SQLPrepare, SQL Execute fails on SQL 7 but works onSQL 2K: msg#00118

db.tds.freetds

Subject: RE: SQLPrepare, SQL Execute fails on SQL 7 but works onSQL 2K

> > >
> > > I still can't log in with tsql, because charset
> > > name "646" doesn't map to ASCII anymore ...
> > >
> >
> > Fixed in CVS (some days ago)
>
> I can connect now, thanks. But what do you make of this dump?
>
> Starting log file for FreeTDS 0.62.dev.20030723
> on 2003-09-18 16:15:56 with debug level 99.
> names for ISO-8859-1: ISO-8859-1
> names for UTF-8: UTF-8
> names for UCS-2LE: UCS-2LE
> names for UCS-2BE: UCS-2BE
> iconv to convert client-side data to the "646" character set
> ^^^ fine
> 16:15:56.426874 tds_iconv_info_init: converting "UCS-4LE"->"UCS-2LE"
> ^^^^^^^ huh?
> 16:15:56.427043 tds_iconv_info_init: converting
> "ISO-8859-1"->"UCS-2LE"
> 16:15:56.427184 Connecting to 10.80.58.175 port 2500, TDS 7.0.
> ...
>

I modified src/tds/common.c (setting 646 charset instead of
ISO-8859-1... why we set a default charset ?? Perhaps we should remove
this line... also we should detect correct system charset in tds, not
only using tsql...)

I got

Starting log file for FreeTDS 0.62.dev.20030923
on 2003-09-23 11:26:56 with debug level 99.
names for ISO-8859-1: ISO-8859-1
names for UTF-8: UTF-8
names for UCS-2LE: UCS-2LE
names for UCS-2BE: UCS-2BE
iconv to convert client-side data to the "646" character set
11:26:56.501891 tds_iconv_info_init: converting "US-ASCII"->"UCS-2LE"
11:26:56.502078 tds_iconv_info_init: converting "ISO-8859-1"->"UCS-2LE"
11:26:56.502161 Connecting to 10.1.36.114 port 1433, TDS 7.0.

Seem correct (I used latest snapshot, still problems with my ISP...)
Check your src/tds/encoding.h file.

freddy77


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
hardware.arm.at...    cms.citadel.dev...    video.gstreamer...    java.facelets.u...    misc.basics.qna...    web.wiki.instik...    network.uip.use...    xdg.devel/2003-...    tex.bibtex.bibd...    finance.quotesp...    ietf.zeroconf/2...    redhat.blinux.g...    suse.db2/2003-0...    php.phpesp/2004...    uml.devel/2003-...    gnome.labyrinth...    qnx.openqnx.dev...    boot-loaders.gr...    db.dataperfect....    audio.audacity....    linux.uclinux.m...    editors.j.devel...    os.openbsd.tech...    kde.users.multi...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation