On Sun, Jun 15, 2008 at 03:26:05PM -0600, Philip Guenther wrote:
> pOn Sun, Jun 15, 2008 at 12:46 PM, F. Caulier <[EMAIL PROTECTED]> wrote:
> > --- Pieter Verberne <[EMAIL PROTECTED]> wrote:
> >
> >> On Sun, Jun 15, 2008 at 07:20:32AM -0700, F. Caulier
> >> wrote:
> >> > I get the following when I (as root and standard user)
> >> > execute pkg_info, pkg_add or pkg_delete with Xorg on:
> >> >
> >> > # pkg_info
> >> > perl: warning: Setting locale failed.
> >> > perl: warning: Please check that your locale settings:
> >> > LC_ALL = (unset)
> >> > LC_CTYPE = "en_US.UTF-8",
> >> > LANG = (unset)
> >> > are supported and installed on your system.
> >> > perl: warning: Falling back to standard locale ("C").
>
> So something has set LC_CTYPE to en_US.UTF-8, a locale which is not
> supported by OpenBSD, which results in the setlocale() call failing,
> something perl complains about so that you don't blame perl when you
> get broken results.
>
> >> I found a workaround:
> >>
> >> # ln -s /usr/share/locale/en_GB.ISO8859-1
> >> /usr/share/locale/en_US.UTF-8
>
> That seems like a really bad idea to me. UTF-8 and ISO8859-1 are
> fundamentally different: [...]
Most (all?) workarounds are bad ideas I think..