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] Charset question
- Date: Thu, 13 Apr 2006 08:51:43 +0200
Il giorno mer, 12/04/2006 alle 21.54 -0400, James K. Lowden ha scritto:
> Hi Freddy,
>
> Frediano Ziglio wrote:
> >
> > Well, I think it's wrong since... 3 or 4 years ago. Good spot! At this
> > point however should we fix this?
>
> I'm not sure. For now, I think we should fix the documentation for
> locales.conf.
>
Updated a bit, I don't know if is it what you think about...
> > About locales.conf, freetds.conf, client charset, etc. I think there is
> > a lot of confusion... For instance is not true that client charset (only
> > in freetds.conf) is use only with TDS 7+. If charset is not given
> > FreeTDS try to match charset for Sybase using client charset.
>
> We use libiconv only for TDS7+. That's what I meant.
>
> I haven't completely traced how freetds.conf's 'client charset' gets used
> for a TDS 5.0 connection. Can our friend do this in freetds.conf?
>
> [default]
> client charset = iso_1
>
> I'm not sure what you mean by "If charset is not given".
>
in src/tds/login.c
/* use charset nearest to client or nothing */
server_charset = NULL;
if (!tds_dstr_isempty(&connection->server_charset))
server_charset = tds_dstr_cstr(&connection->server_charset);
else
server_charset =
tds_sybase_charset_name(tds_dstr_cstr(&connection->client_charset));
if (!server_charset)
server_charset = "";
freddy77
-
[freetds] Charset question,
jack brack, 04/12/2006
-
Re: [freetds] Charset question,
Daniel Fazekas, 04/12/2006
- Re: [freetds] Charset question, jack brack, 04/12/2006
- Re: [freetds] Charset question, jack brack, 04/12/2006
- <Possible follow-up(s)>
-
Re: [freetds] Charset question,
Lowden, James K, 04/12/2006
- Re: [freetds] Charset question, jack brack, 04/12/2006
-
Re: [freetds] Charset question,
Lowden, James K, 04/12/2006
-
Re: [freetds] Charset question,
Frediano Ziglio, 04/12/2006
-
Re: [freetds] Charset question,
James K. Lowden, 04/12/2006
- Re: [freetds] Charset question, Frediano Ziglio, 04/13/2006
-
Re: [freetds] Charset question,
jack brack, 04/13/2006
- Re: [freetds] Charset question, Frediano Ziglio, 04/13/2006
-
Re: [freetds] Charset question,
James K. Lowden, 04/12/2006
-
Re: [freetds] Charset question,
jack brack, 04/13/2006
-
Re: [freetds] Charset question,
Daniel Fazekas, 04/13/2006
-
Re: [freetds] Charset question,
jack brack, 04/14/2006
- Re: [freetds] Charset question, jack brack, 04/14/2006
-
Re: [freetds] Charset question,
jack brack, 04/14/2006
-
Re: [freetds] Charset question,
Daniel Fazekas, 04/13/2006
-
Re: [freetds] Charset question,
Frediano Ziglio, 04/12/2006
-
Re: [freetds] Charset question,
Lowden, James K, 04/13/2006
-
Re: [freetds] Charset question,
jack brack, 04/14/2006
-
Re: [freetds] Charset question,
James K. Lowden, 04/14/2006
- Re: [freetds] Charset question, Frediano Ziglio, 04/15/2006
-
Re: [freetds] Charset question,
James K. Lowden, 04/14/2006
-
Re: [freetds] Charset question,
jack brack, 04/14/2006
-
Re: [freetds] Charset question,
Daniel Fazekas, 04/12/2006
Archive powered by MHonArc 2.6.24.