Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jun 2007 17:10:18 -0700
From:      "Chris H." <chris#@1command.com>
To:        freebsd-stable@freebsd.org
Subject:   ctype locale: Invalid argument
Message-ID:  <20070622171018.xpuevtgvuowkksc4@webmail.1command.com>

next in thread | raw e-mail | index | archive | help
Hello,
I've been struggling with an error in a perl program I've been working on.
Actually, I'm attempting to convert and enhance the freebsd man page cgi
program - convert it to PHP and add some additional features. BUT, before
I make the conversion I wanted to eliminate an error that the original perl
version emits - ctype locale: Invalid argument.

I've spent several days searching for an answer. On the FBSD mailing list
I found only one reference. But it was Solaris related. Given that MAN(1)
gets this information from ENV(1). I ran LOCALE(1) with no args and received
the following:

LANG=
LC_CTYPE="C"
LC_COLLATE="C"
LC_TIME="C"
LC_NUMERIC="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

Given I'm on the west coast of the US (-700). Is the above output correct?
Should I have added something to MAKE.CONF(5) before build kernel && build
world? Am I even on the right track here?

Thank you for all your time and consideration.

--Chris


-- 
panic: kernel trap (ignored)






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070622171018.xpuevtgvuowkksc4>