Bug 1398749

Summary: ISO-8859-1 locale is no longer honored
Product: [Fedora] Fedora Reporter: Peter Backes <rtc>
Component: vte291Assignee: Kalev Lember <klember>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 25CC: christoph.wickert, egmont, kevin, klember, nonamedotc
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-24 16:52:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Peter Backes 2016-11-25 18:53:43 UTC
Description of problem:
It seems no longer possible to run xfce4-terminal on a system with LANG=en_US and get the encoding set to ISO-8859-1 by default.

Version-Release number of selected component (if applicable):
xfce4-terminal-0.8.1-1.fc24.i686

How reproducible:
always

Steps to Reproduce:
1. boot with LANG=en_US
2. open xfce4-terminal
3. echo äöü > test.txt

Actual results:
test.txt contains umlauts encoded in UTF-8. Terminal => Set encoding => Unicode => UTF-8 is set. Manually setting  Terminal => Set encoding => Default (ISO-8859-1) has no effect.

Expected results:
test.txt contains umlauts encoded in ISO-8859-1. Terminal => Set encoding => Default (ISO-8859-1) is set.

Additional info:
As a workaround, the encoding can be set manually by Terminal => Set encoding => Western European => ISO-8859-1. This will enable Terminal => Set encoding => Default (ISO-8859-1).

Comment 1 Peter Backes 2016-11-25 19:16:57 UTC
I still had the more recent f24 version of xfce4-terminal installed (the same happens with xfce4-terminal-0.8.0-1.fc25.i686). This indicates that it is not a xfce4-terminal problem, since xfce4-terminal-0.8.1-1.fc24.i686 did not show this behavior on f24. Perhaps vte?

Comment 2 Kevin Fenzi 2016-11-26 18:17:10 UTC
Could be. 

+---------------+------------------------+-----------------+
| release       | stable_version         | testing_version |
+---------------+------------------------+-----------------+
| Rawhide       | 0.46.1-1.fc26          | None            |
| Fedora 25     | 0.46.1-1.fc25 (update) | None            |
| Fedora 24     | 0.44.3-1.fc24 (update) | None            |

So, somewhere between 0.44.3-1 and 0.46.1

moving over there for comment...

Comment 3 Egmont Koblinger 2016-11-26 21:25:57 UTC
I can reproduce this bug with vte-0.44 just as much as with vte-0.46. (I'm not on Fedora.) Moreover, vte didn't receive any change that could possibly be relevant since perhaps 0.38 or 0.40. It defaults to UTF-8 (no matter what the locale is), it's the container app's responsibility to set a different one if so desired.

Comment 4 Egmont Koblinger 2016-11-26 21:29:20 UTC
I've forwarded upstream: https://bugzilla.xfce.org/show_bug.cgi?id=13054

Comment 5 Peter Backes 2017-01-24 13:04:36 UTC
Apparently fixed in xfce4-terminal-0.8.3-1.fc25.i686

Comment 6 Kevin Fenzi 2017-01-24 16:52:28 UTC
Yeah, sorry for not attaching this bug, but it was on a different component.