Bug 425992

Summary: newt fails to handle UTF-8 characters
Product: [Fedora] Fedora Reporter: Lars Vogdt <lrupp>
Component: newtAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
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: 2008-01-23 17:17:48 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:
Attachments:
Description Flags
Patch setting SLutf8_enable(-1); in newt none

Description Lars Vogdt 2007-12-17 16:47:24 UTC
The current newt version (newt-0.52.7-4.fc8 package) seems not to handle utf8
characters correctly. It seems that slang is not switched to utf-8 mode in newts
code. 

Newt should call
SLutf8_enable(-1), see http://www.s-lang.org/doc/html/cslang-4.html

Have a look at the Novell bugzilla for reference.

Adding the attached patch fixes the problem.

Comment 1 Lars Vogdt 2007-12-17 16:47:24 UTC
Created attachment 289784 [details]
Patch setting SLutf8_enable(-1); in newt

Comment 2 Miroslav Lichvar 2007-12-17 19:40:38 UTC
Will be fixed in the next newt release.

Fedora slang package has a patch calling SLutf8_enable, so applications that
don't call the function work correctly in utf8. Maybe it's time to drop the patch.

Thanks for the report.

Comment 3 Lars Vogdt 2007-12-19 12:40:56 UTC
Thanks for including this patch in the next release. 

BTW: me is hoping for a release of newt on hosted.fedoraproject.org (#226195) -
would make monitoring much easier... ;-)

Comment 4 Miroslav Lichvar 2008-01-23 17:17:48 UTC
Fixed in newt-0.52.8.

Comment 5 Miroslav Lichvar 2008-03-21 12:34:03 UTC
Upstream tarballs are at https://fedorahosted.org/releases/n/e/newt/.