Ver código fonte

man: Switch output encoding to UTF-8

Recent man-db implementations support man pages encoded in UTF-8, so
there's no point anymore in generating man pages with legacy encodings.
Guillem Jover 10 anos atrás
pai
commit
140f6e31a8
2 arquivos alterados com 13 adições e 12 exclusões
  1. 1 0
      debian/changelog
  2. 12 12
      man/po/po4a.cfg

+ 1 - 0
debian/changelog

@@ -95,6 +95,7 @@ dpkg (1.18.5) UNRELEASED; urgency=medium
     - Update field requirements of control file formats to match dpkg reality.
     - Document the format of the origins filename in deb-origin(5).
     - Add list of flags set by bug feature area to dpkg-buildflags(1).
+    - Switch output encoding of man pages to UTF-8.
 
   [ Updated programs translations ]
   * Portuguese (Miguel Figueiredo).

+ 12 - 12
man/po/po4a.cfg

@@ -2,18 +2,18 @@
 [po4a_paths] po/dpkg-man.pot $lang:po/$lang.po
 
 # Make sure the man pages are generated with the right encoding.
-[po4a_alias:man] man                                      \
-                 opt_de:"-L ISO-8859-1     -A utf-8"      \
-                 opt_es:"-L ISO-8859-1     -A utf-8"      \
-                 opt_fr:"-L ISO-8859-1     -A utf-8"      \
-                 opt_hu:"-L ISO-8859-2     -A utf-8"      \
-                 opt_it:"-L ISO-8859-1     -A utf-8"      \
-                 opt_ja:"-L euc-jp         -A utf-8"      \
-                 opt_pl:"-L ISO-8859-2     -A utf-8"      \
-                 opt_pt_BR:"-L ISO-8859-1  -A utf-8"      \
-                 opt_ru:"-L koi8-r         -A utf-8"      \
-                 opt_sv:"-L ISO-8859-1     -A utf-8"      \
-                 opt_zh_CN:"-L UTF-8       -A utf-8"
+[po4a_alias:man] man                           \
+                 opt_de:"-L UTF-8    -A UTF-8" \
+                 opt_es:"-L UTF-8    -A UTF-8" \
+                 opt_fr:"-L UTF-8    -A UTF-8" \
+                 opt_hu:"-L UTF-8    -A UTF-8" \
+                 opt_it:"-L UTF-8    -A UTF-8" \
+                 opt_ja:"-L UTF-8    -A UTF-8" \
+                 opt_pl:"-L UTF-8    -A UTF-8" \
+                 opt_pt_BR:"-L UTF-8 -A UTF-8" \
+                 opt_ru:"-L UTF-8    -A UTF-8" \
+                 opt_sv:"-L UTF-8    -A UTF-8" \
+                 opt_zh_CN:"-L UTF-8 -A UTF-8"
 
 [type:man] deb.5 $lang:$lang/deb.5 \
            add_$lang:po/$lang.add