Bug 2043798

Summary: Please enable wide character support available in perl-Curses
Product: [Fedora] Fedora Reporter: Bill Yodlowsky <byodlows>
Component: perl-Curses-UIAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 34CC: david.hannequin, emmanuel, perl-devel, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-Curses-UI-0.9609-20.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-13 08:28:50 UTC Type: Feature Request
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
Adds a find/sed line to the specfile to enable UTF-8 none

Description Bill Yodlowsky 2022-01-22 02:05:19 UTC
Created attachment 1852640 [details]
Adds a find/sed line to the specfile to enable UTF-8

Description of problem:

UTF-8 fails to render properly in Curses::UI widgets, but as noted in the last comment here:

- https://rt.cpan.org/Public/Bug/Display.html?id=56695

perl-Curses-1.29 and later support this properly, and to use it, we just need to patch Curses::UI with s/getch/getchar/g and s/addstr/addstring/g

In testing, that does indeed appear to make everything work as desired, so I've enclosed a diff that could be added to the spec file.  It literally just adds this line after the existing find(1):

find -name '*.pm' -exec sed -i -e 's/addstr/addstring/g' -e 's/getch/getchar/g' {} +

Thanks in advance.

Comment 1 Ben Cotton 2022-05-12 15:03:35 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 2 Petr Pisar 2022-05-13 08:16:07 UTC
It definitely makes sense. Fedora defaults to UTF-8 locale and all the software should work in that environment. I'm going to patch perl-Curses-UI in Rawhide.