summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Changelog
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Dpkg/Changelog')
-rw-r--r--scripts/Dpkg/Changelog/Debian.pm2
-rw-r--r--scripts/Dpkg/Changelog/Entry.pm2
-rw-r--r--scripts/Dpkg/Changelog/Entry/Debian.pm2
-rw-r--r--scripts/Dpkg/Changelog/Parse.pm6
4 files changed, 10 insertions, 2 deletions
diff --git a/scripts/Dpkg/Changelog/Debian.pm b/scripts/Dpkg/Changelog/Debian.pm
index 4d56e8122..2ea302010 100644
--- a/scripts/Dpkg/Changelog/Debian.pm
+++ b/scripts/Dpkg/Changelog/Debian.pm
@@ -15,6 +15,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+=encoding utf8
+
=head1 NAME
Dpkg::Changelog::Debian - parse Debian changelogs
diff --git a/scripts/Dpkg/Changelog/Entry.pm b/scripts/Dpkg/Changelog/Entry.pm
index 3ed6bd624..14691b45c 100644
--- a/scripts/Dpkg/Changelog/Entry.pm
+++ b/scripts/Dpkg/Changelog/Entry.pm
@@ -29,6 +29,8 @@ use overload
'eq' => sub { defined($_[1]) and "$_[0]" eq "$_[1]" },
fallback => 1;
+=encoding utf8
+
=head1 NAME
Dpkg::Changelog::Entry - represents a changelog entry
diff --git a/scripts/Dpkg/Changelog/Entry/Debian.pm b/scripts/Dpkg/Changelog/Entry/Debian.pm
index 53d3a24a4..3ef8da710 100644
--- a/scripts/Dpkg/Changelog/Entry/Debian.pm
+++ b/scripts/Dpkg/Changelog/Entry/Debian.pm
@@ -31,6 +31,8 @@ use Dpkg::Gettext;
use Dpkg::Control::Changelog;
use Dpkg::Version;
+=encoding utf8
+
=head1 NAME
Dpkg::Changelog::Entry::Debian - represents a Debian changelog entry
diff --git a/scripts/Dpkg/Changelog/Parse.pm b/scripts/Dpkg/Changelog/Parse.pm
index 8b23e7990..399033fe9 100644
--- a/scripts/Dpkg/Changelog/Parse.pm
+++ b/scripts/Dpkg/Changelog/Parse.pm
@@ -14,6 +14,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+=encoding utf8
+
=head1 NAME
Dpkg::Changelog::Parse - generic changelog parser for dpkg-parsechangelog
@@ -56,12 +58,12 @@ following list of directories: $opt{libdir},
program is named according to the format that it's able to parse. By
default it's either "debian" or the format name lookep up in the 40 last
lines of the changelog itself (extracted with this perl regular expression
-"\schangelog-format:\s+([0-9a-z]+)\W"). But it can be overriden
+"\schangelog-format:\s+([0-9a-z]+)\W"). But it can be overridden
with $opt{changelogformat}. The program expects the content of the
changelog file on its standard input.
The changelog file that is parsed is debian/changelog by default but it
-can be overriden with $opt{file}.
+can be overridden with $opt{file}.
All the other keys in %opt are forwarded as parameter to the external
parser. If the key starts with "-", it's passed as is. If not, it's passed