Red Hat Bugzilla – Bug 80604
Terminal -> Character Encoding shows UTF-8 twice in default install
Last modified: 2008-05-01 11:38:04 EDT
Description of problem:
when i start up gnome-terminal in a freshly installed phoebe system the
"Terminal" -> "Character encoding" menu has two entries, both Unicode (UTF-8)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a new account
2. start gnome-terminal
3. take a look at the Terminal -> Character encoding submenu
Double "Unicode (UTF-8)" entries
I suppose a resonable default i would be "Unicode (UTF-8)" and "Western
I swear I added code to fix that at one point, but yes I see the same.
the current fix code is too limited, we need to strip all duplicates out
of the list of encodings.
Better to just default to listing the locale's encoding, and if it's not UTF-8,
UTF-8 as well -- as these are the only options available to applications which
want to change the terminal's encoding.
* What if I install in Czech with Chinese as an additional language?
* That locally-installed applications can't use locale with a specific
encoding doesn't mean that I don't need the terminal to convert that
encoding (consider SSH-ing to a different computer).
gnome-terminal 2.1.4 eliminates the duplicates.
> * What if I install in Czech with Chinese as an additional language?
The encoding menu is user-customizable, you can add whatever you want in there.
> * That locally-installed applications can't use locale with a specific
> encoding doesn't mean that I don't need the terminal to convert that
> encoding (consider SSH-ing to a different computer).
The encoding menu supports converting from any encoding that your
C library supports. There's really nothing else we can do. I think
we always install all the C library encoding support though (run "iconv -l" to
list all the encodings glibc knows about).