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): gnome-terminal-2.1.3-2 How reproducible: always Steps to Reproduce: 1. create a new account 2. start gnome-terminal 3. take a look at the Terminal -> Character encoding submenu Actual results: Double "Unicode (UTF-8)" entries Expected results: I suppose a resonable default i would be "Unicode (UTF-8)" and "Western (ISO-8859-1)"
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? (zh_CN.gb18030) * 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? > (zh_CN.gb18030) 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).