Bug 425992 - newt fails to handle UTF-8 characters
Summary: newt fails to handle UTF-8 characters
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: newt
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-17 16:47 UTC by Lars Vogdt
Modified: 2008-03-21 12:34 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-01-23 17:17:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch setting SLutf8_enable(-1); in newt (520 bytes, patch)
2007-12-17 16:47 UTC, Lars Vogdt
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Novell 289291 0 None None None Never

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/.


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