GNOME Bugzilla – Bug 574552
Gnome-terminal encoding defaults to ASCII on OpenBSD
Last modified: 2009-04-12 10:45:24 UTC
Please describe the problem: When I open gnome-terminal it defaults its encoding to Current locale(ASCII) no matter what I do. I've tried to set my locales LC_ALL=en_US.UTF-8 or LC_ALL=fi_FI.iso8859-1 but neither helped, the terminal still defaults to ASCII. I found some bug discussion about the encoding option and I tried to suggested LANG=en_US.UTF-8 gnome-terminal --disable-factory and LC_CTYPE=en_US.UTF-8 gnome-terminal --disable-factory and still the encoding stays as ASCII. Steps to reproduce: 1. Install gnome-terminal on OpenBSD 2. Launch it 3. type some umlauts for test Actual results: Gnome-terminal opens with ASCII encoding Expected results: the encoding should be UTF-8 Does this happen every time? Yes Other information: I don't run gnome desktop, I run just the terminal in my XMonad WM.
Does openbsd even support locales yet? What's the output of the "locale" command when run from inside the shell inside a gnome-terminal --disable-factory instance?
OpenBSD doesn't have the locale command at all.
From what google tells me, it appears that openbsd still has no locale support at all, which makes it unsurprising that the 'locale encoding' is the one of the C locale, i.e. ASCII.
Ok, it seems to be a missing feature in gnome-terminal then. Gnome-terminal should have some method to specify the encoding to be used in it. I wanted to have gnome-terminals without the menubars but its quite tedious to open terminal, use mouse to enable menubar, change encoding to UTF-8, close menubar and then use the terminal. The terminal profile settings could include encoding option, the encoding could be set via commandline option or the terminal could use the enviromental values like LC_CTYPE to determine what encoding to use.
That would be bug 108711 then.
*** This bug has been marked as a duplicate of 108711 ***