Bug 443956 - authconfig print force print utf8 even if system locale is not UTF-8
Summary: authconfig print force print utf8 even if system locale is not UTF-8
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: authconfig
Version: 5.1
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Tomas Mraz
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-24 11:44 UTC by JoungKyun Kim
Modified: 2008-07-03 07:08 UTC (History)
0 users

Fixed In Version: authconfig-5.3.21-3.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-03 07:08:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch that fixed this problem (882 bytes, patch)
2008-04-24 11:44 UTC, JoungKyun Kim
no flags Details | Diff

Description JoungKyun Kim 2008-04-24 11:44:24 UTC
Description of problem:

If system locale is not UTF-8 (for example LANG=ko_KR.euckr), authconfig force 
print stdout or stderr message with UTF-8. So on no utf8 locale system, 
authconfig message is broken.

Version-Release number of selected component (if applicable):

authconfig 5.3.12-2.el5

How reproducible:

changed system locale from UTF-8 to no UTF-8
(example: ko_KR.UTF-8 -> ko_KR.euckr)

Steps to Reproduce:
1. echo $LANG ( result ko_KR.UTF-8 )
2. run LANG="ko_KR.euckr" authconfig --help | iconv -f ECU-KR -t UTF-8
3. failed iconv (UTF-8 to UTF-8)
  
Actual results:

print broken message. only print UTF-8 message.

Expected results:

print message with no UTF-8 charset

Additional info:

attached patch that fixed this problem.

Comment 1 JoungKyun Kim 2008-04-24 11:44:24 UTC
Created attachment 303614 [details]
patch that fixed this problem

Comment 2 Tomas Mraz 2008-04-24 12:21:54 UTC
The authconfig package which is in queue for RHEL-5.2 should already fix this.

Please try authconfig-5.3.21-3.el5 when it is released as part of RHEL-5.2 and
report here if it fixed the problem.
Thanks.


Comment 3 JoungKyun Kim 2008-07-02 23:09:35 UTC
I checked on 5.2 and previous problems is fixed. Thanks.


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