Bug 88747

Summary: mrtg has problems with i18n?
Product: [Retired] Red Hat Linux Reporter: Bruno Lopes F. Cabral <bruno>
Component: mrtgAssignee: Miloslav Trmač <mitr>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 18:52:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bruno Lopes F. Cabral 2003-04-13 00:15:01 UTC
Description of problem:

	mrtg do not to behave well with LANG environment var being set
	to pt_BR-UTF-8 (chosen during a clean install of RH8)

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

	# rpm -q mrtg
	mrtg-2.9.17-8

How reproducible:

	ALLWAYS

Steps to Reproduce:

	the following command will give lots of error on a DEFAULT install
	of RH8.0 with LANG=pt_BR.UTF-8 (choosen during install)

	# mrtg /etc/mrtg/mrtg.cfg

	if you do # LANG="" mrtg /etc/mrtg/mrtg.cfg
	or # LANG="pt_BR" mrtg /etc/mrtg/mrtg.cfg
	it will succeed
    
Actual results:

[...]
Malformed UTF-8 character (unexpected non-continuation byte 0x20, immediately
after start byte 0xf2) at /usr/bin/../lib/mrtg2/locales_mrtg.pm line 2404.
Malformed UTF-8 character (unexpected continuation byte 0xb3, with no preceding
start byte) at /usr/bin/../lib/mrtg2/locales_mrtg.pm line 3107.
Malformed UTF-8 character (unexpected non-continuation byte 0x20, immediately
after start byte 0xe2) at /usr/bin/../lib/mrtg2/locales_mrtg.pm line 3107.
[...]

Expected results:

	No error message from UTF-8

Additional info:

	None

Comment 1 Zach Gorman 2003-04-18 18:14:02 UTC
I think this is the same as bug #75913

Comment 2 Miloslav Trmač 2004-08-16 21:04:07 UTC

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

Comment 3 Red Hat Bugzilla 2006-02-21 18:52:39 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.