freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Steve Langasek <vorlon AT netexpress.net>
- To: TDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] How to set locales.conf in spanish
- Date: Sun, 12 Jan 2003 13:24:56 -0600
On Sat, Jan 11, 2003 at 06:28:23PM -0500, James K. Lowden wrote:
> > I would like to be able to set 'en_MX', 'en_US' and 'sp_MX' after the
> > creation of the TDS_SOCKET*/LOGIN*/LOCALE* bundle. Theoretically I
> > should be able to set those values before I tds_send_login(...), right?
> If you mean the environment strings, from what I've read, you need to set
> those values before your application starts up, if you want portable code.
> Different libc implementations react differently (or not at all) to
> changes in the environment once the application starts. I think I read
> about that in perl's documentation.
You can always call setlocale() with a specific locale value, instead of
defaulting to the environment settings. This is portable to all
non-broken implementations of setlocale(). :)
--
Steve Langasek
postmodern programmer
Attachment:
pgpJmIty4pw2M.pgp
Description: PGP signature
-
Re: [freetds] How to set locales.conf in spanish
, (continued)
-
Re: [freetds] How to set locales.conf in spanish,
Frediano Ziglio, 01/10/2003
-
Re: [freetds] How to set locales.conf in spanish,
Steve Langasek, 01/10/2003
-
Re: [freetds] How to set locales.conf in spanish,
Frediano Ziglio, 01/11/2003
- Re: [freetds] How to set locales.conf in spanish, James K. Lowden, 01/11/2003
-
Re: [freetds] How to set locales.conf in spanish,
Frediano Ziglio, 01/11/2003
-
Re: [freetds] How to set locales.conf in spanish,
Steve Langasek, 01/10/2003
-
RE: [freetds] How to set locales.conf in spanish,
Castellano, Nicholas, 01/10/2003
- Re: [freetds] How to set locales.conf in spanish, James K. Lowden, 01/10/2003
- RE: [freetds] How to set locales.conf in spanish, Brian Bruns, 01/10/2003
-
RE: [freetds] How to set locales.conf in spanish,
Eric Deutsch, 01/10/2003
- Re: [freetds] How to set locales.conf in spanish, Steve Langasek, 01/10/2003
-
Re: [freetds] How to set locales.conf in spanish,
James K. Lowden, 01/11/2003
- Re: [freetds] How to set locales.conf in spanish, Steve Langasek, 01/12/2003
- RE: [freetds] How to set locales.conf in spanish, Coleman, Dave, 01/12/2003
-
RE: [freetds] How to set locales.conf in spanish,
Coleman, Dave, 01/13/2003
- Re: [freetds] How to set locales.conf in spanish, Steve Langasek, 01/13/2003
- RE: [freetds] How to set locales.conf in spanish, Coleman, Dave, 01/13/2003
-
Re: [freetds] How to set locales.conf in spanish,
Frediano Ziglio, 01/10/2003
Archive powered by MHonArc 2.6.24.