After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 574552 - Gnome-terminal encoding defaults to ASCII on OpenBSD
Gnome-terminal encoding defaults to ASCII on OpenBSD
Status: RESOLVED DUPLICATE of bug 108711
Product: gnome-terminal
Classification: Core
Component: general
2.24.x
Other OpenBSD
: Normal normal
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-08 14:25 UTC by Timo Myyrä
Modified: 2009-04-12 10:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Timo Myyrä 2009-03-08 14:25:51 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.
Comment 1 Christian Persch 2009-03-08 14:41:08 UTC
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?
Comment 2 Timo Myyrä 2009-03-08 17:41:13 UTC
OpenBSD doesn't have the locale command at all. 
Comment 3 Christian Persch 2009-03-08 19:12:15 UTC
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.
Comment 4 Timo Myyrä 2009-03-08 20:40:47 UTC
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.
Comment 5 Christian Persch 2009-03-08 21:19:03 UTC
That would be bug 108711 then.
Comment 6 Christian Persch 2009-04-12 10:45:24 UTC

*** This bug has been marked as a duplicate of 108711 ***