Bug 1398749 - ISO-8859-1 locale is no longer honored
Summary: ISO-8859-1 locale is no longer honored
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: vte291
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-25 18:53 UTC by Peter Backes
Modified: 2017-01-24 16:52 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-24 16:52:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.