[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: accented characters in console and openoffice



Hi:



Felipe Augusto van de Wiel (faw) wrote:
>     Which locale are you using? 
I'm using pt_PT
> Do you have GTM_IM_MODULE
No, I'm using KDE...

> Which locales are enabled?
If I run local as a regular user, I get the following message:

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=pt_PT
LC_CTYPE="pt_PT"
LC_NUMERIC="pt_PT"
LC_TIME="pt_PT"
LC_COLLATE="pt_PT"
LC_MONETARY="pt_PT"
LC_MESSAGES="pt_PT"
LC_PAPER="pt_PT"
LC_NAME="pt_PT"
LC_ADDRESS="pt_PT"
LC_TELEPHONE="pt_PT"
LC_MEASUREMENT="pt_PT"
LC_IDENTIFICATION="pt_PT"
LC_ALL=pt_PT

if I run it as root, I get the following:

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=pt_PT
LANGUAGE=en_PT:en_US:en_GB:en
LC_CTYPE="pt_PT"
LC_NUMERIC="pt_PT"
LC_TIME="pt_PT"
LC_COLLATE="pt_PT"
LC_MONETARY="pt_PT"
LC_MESSAGES="pt_PT"
LC_PAPER="pt_PT"
LC_NAME="pt_PT"
LC_ADDRESS="pt_PT"
LC_TELEPHONE="pt_PT"
LC_MEASUREMENT="pt_PT"
LC_IDENTIFICATION="pt_PT"
LC_ALL=pt_PT


Note the differences in LANGUAGE...
> Did
> you tried to load the application with something like:
>
>     LC_ALL=<locale> LANG=<locale> LANGUAGE=<locale> app
>
>     Change <locale> for something like pt_BR
>
:~$ LC_ALL=pt_PT LANG=pt_PT LANGUAGE=pt_PT oowriter
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "pt_PT",
        LC_ALL = "pt_PT",
        LANG = "pt_PT"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
I18N: Operating system doesn't support locale ""
I18N: Operating system doesn't support locale "en_US"
warning - incompatible stripping characters and condition:
SFX g   ãos        oas        ão
warning - incompatible stripping characters and condition:


All this info is almost meaningless to me, but it's odd that all other
applications work fine...


Pedro Neves





Reply to: