Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350546 - x11-terms/gnome-terminal-2.32.1 defaults to ANSI charset
Summary: x11-terms/gnome-terminal-2.32.1 defaults to ANSI charset
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 14:31 UTC by Michelangelo Scopelliti
Modified: 2011-01-05 00:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,6.20 KB, text/plain)
2011-01-04 14:32 UTC, Michelangelo Scopelliti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michelangelo Scopelliti 2011-01-04 14:31:12 UTC
My system is (apparently) UTF-8 aware, but gnome-terminal keeps defaulting on ANSI_X3.4-1968 charset. even if changed manually to UTF-8, next instance goes back to ANSI.

Reproducible: Always

Steps to Reproduce:




output of locale:

LANG=it_IT.UTF-8
LC_CTYPE=C
LC_NUMERIC=C
LC_TIME=it_IT.UTF-8
LC_COLLATE=C
LC_MONETARY=it_IT.UTF-8
LC_MESSAGES=it_IT.UTF-8
LC_PAPER=it_IT.UTF-8
LC_NAME="it_IT.UTF-8"
LC_ADDRESS="it_IT.UTF-8"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL=
Comment 1 Michelangelo Scopelliti 2011-01-04 14:32:41 UTC
Created attachment 258826 [details]
emerge --info
Comment 2 Rafał Mużyło 2011-01-04 14:52:03 UTC
First, try a pure LANG=it_IT.UTF-8 env, then narrow it down to the offending var.
Most likely not a bug.
Comment 3 Pacho Ramos gentoo-dev 2011-01-04 20:07:43 UTC
Unable to reproduce with:

$ locale
LANG=es_ES.UTF-8
LC_CTYPE="es_ES.UTF-8"
LC_NUMERIC="es_ES.UTF-8"
LC_TIME="es_ES.UTF-8"
LC_COLLATE=C
LC_MONETARY="es_ES.UTF-8"
LC_MESSAGES="es_ES.UTF-8"
LC_PAPER="es_ES.UTF-8"
LC_NAME="es_ES.UTF-8"
LC_ADDRESS="es_ES.UTF-8"
LC_TELEPHONE="es_ES.UTF-8"
LC_MEASUREMENT="es_ES.UTF-8"
LC_IDENTIFICATION="es_ES.UTF-8"
LC_ALL=

$ cat /etc/env.d/02locale 
LANG="es_ES.UTF-8"
LC_COLLATE="C"
Comment 4 Michelangelo Scopelliti 2011-01-05 00:59:37 UTC
(In reply to comment #2)
> First, try a pure LANG=it_IT.UTF-8 env, then narrow it down to the offending
> var.
> Most likely not a bug.
> 

Thank you, you were right. It's not a bug, just an abuse of mine of LC_CTYPE. Since I was asking to not use UTF-8 to interpret chars, the conflict caused the fallback to ANSI.

So, I think this bug can be closed as invalid; thank you again.