freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "James K. Lowden" <jklowden AT freetds.org>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] FreeTDS 0.63
- Date: Wed, 30 Nov 2005 09:32:08 -0500
loc.t.nguyen AT verizon.com wrote:
> 1) the msg "locale is "en_US.UTF-8" and
> "locale charset is "UTF-8" are displayed
> I would like to suppress the msg. Please advise...
You can use the -q option, but that also suppresses the prompt.
To build a version of tsql that doesn't print the locale, find these lines
starting around 363 in src/apps/tsql.c:
if (locale)
if (!QUIET) printf("locale is \"%s\"\n", locale);
if (charset) {
if (!QUIET) printf("locale charset is \"%s\"\n", charset);
} else {
charset = "ISO-8859-1";
if (!QUIET) printf("using default charset \"%s\"\n", charset);
}
Delete them. Recompile. Enjoy.
--jkl
-
[freetds] FreeTDS 0.63,
loc . t . nguyen, 11/30/2005
- Re: [freetds] FreeTDS 0.63, James K. Lowden, 11/30/2005
Archive powered by MHonArc 2.6.24.