File: fix-man-encoding

package info (click to toggle)
cstocs 1%3A3.44-1.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 288 kB
  • sloc: perl: 725; makefile: 5
file content (54 lines) | stat: -rw-r--r-- 1,593 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Description: Change encoding of help text
 To properly render Czech diacritics, recode help text in utf-8
Author: Petr Čech <cech@debian.org>
Bug-Debian: https://bugs.debian.org/845251
Bug-Debian: https://bugs.debian.org/903739

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <other>, <url of original patch>
Forwarded: <no>
Last-Update: 2019-09-25

--- cstocs-3.44.orig/Cz/Sort.pm
+++ cstocs-3.44/Cz/Sort.pm
@@ -258,9 +258,11 @@ __END__
 
 =head1 SYNOPSIS
 
+=encoding utf8
+
 	use Cz::Sort;
-	my $result = czcmp("_x j&", "_&p");
-	my @sorted = czsort qw(plachta plaka Plnika plnika pln);
+	my $result = czcmp("_x j&á", "_&p");
+	my @sorted = czsort qw(plachta plaňka Plánička plánička pláně);
 	print "@sorted\n";
 
 =head1 DESCRIPTION
@@ -274,7 +276,7 @@ The basic function provided by this modu
 two scalars and returns the (-1, 0, 1) result. The function can be
 called directly, like
 
-	my $result = czcmp("_x j&", "_&p");
+	my $result = czcmp("_x j&á", "_&p");
 
 But for convenience and also because of compatibility with older
 versions, there is a function I<czsort>. It works on list of strings
--- cstocs-3.44.orig/Cz/Time.pm
+++ cstocs-3.44/Cz/Time.pm
@@ -34,8 +34,10 @@ By default they are returned in ISO-8859
 
 =head1 AUTHORS
 
+=encoding utf8
+
 (c) 1997 Jan Pazdziora
-    1997 Michael Mrka
+    1997 Michael Mráka
 
 at Faculty of Informatics, Masaryk University, Brno