Bug 2043798 - Please enable wide character support available in perl-Curses
Summary: Please enable wide character support available in perl-Curses
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Curses-UI
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-22 02:05 UTC by Bill Yodlowsky
Modified: 2022-05-13 08:28 UTC (History)
4 users (show)

Fixed In Version: perl-Curses-UI-0.9609-20.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-13 08:28:50 UTC
Type: Feature Request
Embargoed:


Attachments (Terms of Use)
Adds a find/sed line to the specfile to enable UTF-8 (439 bytes, patch)
2022-01-22 02:05 UTC, Bill Yodlowsky
no flags Details | Diff

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.


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