Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Sep 2002 23:12:45 +0200
From:      Zahemszky =?iso-8859-2?Q?G=E1bor?= <Gabor@Zahemszky.HU>
To:        freebsd-openoffice@freebsd.org
Subject:   OpenOffice.org generate wrong WM_LOCALE_NAME under any locale, but C
Message-ID:  <20020907211245.GA2235@Picasso.Zahemszky.HU>

next in thread | raw e-mail | index | archive | help
Hi!

If OOo is running with a LANG setting to anything correct but C
(eg: POSIX (!) , hu_HU.ISO8859-2 , en_US.ISO8859-1 ),
the WM_LOCALE_NAME property is set to a wrong name.
LANG=C=> WM_LOCALE_NAME(STRING) = "C"
LANG=POSIX=> WM_LOCALE_NAME(STRING) = "PO.SIX"
LANG=hu_HU.ISO8859-2=> WM_LOCALE_NAME(STRING) = "hu_HU..ISO8859-2"
LANG=en_US.ISO8859-2=> WM_LOCALE_NAME(STRING) = "en_US..ISO8859-2"

Gabor

PS: I've just submitted a PR (ports/42516) about it.

-- 
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z ;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l i;};print "$j"

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




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