Locale cannot be set; terminal cannot display characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
language-pack-pt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: language-pack-pt
I updated today language-pack-pt and its dependencies. After updating, I can't get menus correctly displayed in Portuguese (it shows "Places" not "Locais"). Furthermore, if I open a terminal, it is not able to display "Músicas", rather it shows "M??sicas", and I cant write characters such as íãç. If I call "locale", the answer is:
---
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: N?o foi poss?vel atribuir LC_ALL ? localiza??o padr?o: Arquivo ou diret?rio n?o encontrado
LANG=pt_BR
LANGUAGE=pt_BR:en
LC_CTYPE="pt_BR"
LC_NUMERIC="pt_BR"
LC_TIME="pt_BR"
LC_COLLATE="pt_BR"
LC_MONETARY="pt_BR"
LC_MESSAGES=
LC_PAPER="pt_BR"
LC_NAME="pt_BR"
LC_ADDRESS="pt_BR"
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
---
In System>
If I initiate a tty via Alt+Ctrl+F1, the terminal displays and writes correctly such characters.
Trying "sudo update-locale LANG=pt_BR", "sudo locale-gen pt_BR", " sudo locale-gen --purge" did not help.
Ubuntu 10.10
Release: 10.10
language-
I updated a few other language packs also:
language-
language-
language-
I have maverick-proposed enabled.
I think you need do somthing like this:
$sudo localedef --no-archive -c -i pt_BR -f UTF-8 pt
and then reboot