Skip site navigation (1)Skip section navigation (2)
Date:      9 Feb 2000 13:29:54 +0100
From:      naddy@mips.rhein-neckar.de (Christian Weisgerber)
To:        freebsd-hackers@freebsd.org
Subject:   Re: Localization and locale()?
Message-ID:  <87rmk2$40q$1@bigeye.rhein-neckar.de>
References:  <20000208213905.96551.qmail@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jason Simms <jlsimms@hotmail.com> wrote:

> On Solaris, I can see what choices I have by running 'locale -a'.
> However, all my attempts to find a similar function on FreeBSD 3.4
> have failed.

<Shrug> There is no locale(1) command, true.
You can find the available locales under /usr/share/locale.

> es_ES.ISO8859-1
> pt.PT.ISO8859-1
> en_US.ISO8859-1

Those are available. It's ...ISO_8859-1, though. Notice the
underscore.

> And within my program (Perl), I need to use the setlocale() function 
> imported from the POSIX module (actually, from the locale_h header file).  

Well, then do it.

-- 
Christian "naddy" Weisgerber                  naddy@mips.rhein-neckar.de



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87rmk2$40q$1>