File: pod-encoding.patch

package info (click to toggle)
libcurses-perl 1.37-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 932 kB
  • sloc: ansic: 9,143; perl: 1,432; makefile: 12
file content (30 lines) | stat: -rw-r--r-- 1,162 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: fix Latin1 characters in POD, declare encding
 =encoding is needed or pod2man --errors=man complains otherwise
 .
 Also fix the special characters to be valid Latin1
Origin: vendor
Forwarded: https://rt.cpan.org/Ticket/Display?id=95825
Author: Damyan Ivanov <dmn@debian.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2020-10-06

--- a/Curses.pm
+++ b/Curses.pm
@@ -407,7 +407,7 @@
 wide characters), this calls C<wgetch()>, but returns the values described
 above nonetheless.  This can be a problem because with a multibyte character
 encoding like UTF-8, you will receive two one-character strings for a
-two-byte-character (e.g. "" and "" for "").  If you append
+two-byte-character (e.g. "" and "" for "").  If you append
 these characters to a Perl string, that string may internally contain a valid
 UTF-8 encoding of a character, but Perl will not interpret it that way. Perl
 may even try to convert what it believes to be two characters to UTF-8, giving
@@ -442,7 +442,7 @@
 
 =over 4
 
-	addstring("Hll, Wrld") || die "addstring failed";
+	addstring("Hll, Wrld") ||die "addstring failed";
 
 =back