only supports locales using UTF-8

SunOS 5.9
XI R2

Logged in as Root
Copied all folders (DISK_1, DISK_2, DISK_3) to disk.

Create a user XI
Su XI (login as xi)

cd /…/DISK_1/

Running installation ./install.sh
and it outputs:


BusinessObjects Enterprise currently only supports locales using UTF-8
encoding.  Please change your locale
to one using UTF-8 encoding and try again.
Thank you for choosing Business Objects.
Exiting...

I tried: setenv LANG en_US.UTF-8

…but does not help. Is there an other way to work around this problem ?


kilko :norway: (BOB member since 2006-01-27)

It looks like the install script checks locale in the following order… This if from an older install script - I don’t have SP2 downloaded.


# figure out which local encoding to use
encoding="$LC_ALL"
if [ "$encoding" = "" ]; then encoding="$LC_CTYPE"; fi
if [ "$encoding" = "" ]; then encoding="$LANG"; fi

So, also check your LC_ALL and LC_CTYPE first and possibly change them also?

Here’s what happens on my test - solaris


$ locale  
LANG=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=
$ export LANG=en_US.UTF-8
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=

So, I’d check LC_ALL - maybe that is different.

Good luck,

Patrick


Patrick McDonough (BOB member since 2002-08-20)

i’m using /bin/sh


$locale

LANG=
LC_CTYPE=iso_8859_1   (NORWAY?)
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=
$ export LANG=en_US.UTF-8

LANG=en_US.UTF-8: is not an identifier

How can I get around this ?

…okey, I found that I just have to switch shell…
Like switch to BASH, and I can then use the EXPORT command - and it worked. :wink:


kilko :norway: (BOB member since 2006-01-27)