groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 02/05: contrib/mom/Makefile.sub: Set LC_ALL=C when calling $(PDF


From: Werner LEMBERG
Subject: [groff] 02/05: contrib/mom/Makefile.sub: Set LC_ALL=C when calling $(PDFMOM).
Date: Thu, 03 Apr 2014 05:59:29 +0000

wl pushed a commit to branch master
in repository groff.

commit ccb914d297a210767b2562f1c2ff3ce4fb5aacf3
Author: Steffen Nurpmeso <address@hidden>
Date:   Thu Apr 3 07:39:29 2014 +0200

    contrib/mom/Makefile.sub: Set LC_ALL=C when calling $(PDFMOM).
    
    Doing so in an UTF-8 locale with $PERL5OPT=-C set avoids warnings like
    
      utf8 "\xF5" does not map to Unicode at\
        [.]src/devices/gropdf/gropdf line 1359, <PD> line 63.
      Malformed UTF-8 character (unexpected end of string)\
        in substitution (s///) at\
        [.]src/devices/gropdf/gropdf line 1315, <PD> line 63.
---
 ChangeLog                |   10 +++++-----
 contrib/mom/ChangeLog    |   12 ++++++++++++
 contrib/mom/Makefile.sub |    2 +-
 3 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b6c1cb3..c2bdec2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -150,9 +150,9 @@
 2014-03-06  Deri James  <address@hidden>
 
        Missing RE escape in grep.
-       
+
        * src/devices/gropdf/pdfmom.pl: Escape '\' dot in grep RE.
-       
+
 2014-02-26  Bernd Warken  <address@hidden>
 
        * src/roff/grog/grog.pl: Add detection of `gperl' to `grog'.
@@ -175,7 +175,7 @@
           existed, it does not seem common nowadays, and in any case, using
           the now well-established EXIT STATUS section seems preferable to
           me.
-        - Mention the possibility to use ERRORS for section 4 manuals. 
+        - Mention the possibility to use ERRORS for section 4 manuals.
           While most section 4 manuals have a DIAGNOSTICS section, only
           some will need an ERRORS section, but these cases aren't exactly
           rare, either.  Quite some device driver manuals explain how to
@@ -250,7 +250,7 @@
        * groff/tmac/an-ext.tmac (.FONT): Remove.  This doesn't belong into
        this file.
 
-       * groff/tmac/groff_man.man: Reset to state previous to 2014-01-04. 
+       * groff/tmac/groff_man.man: Reset to state previous to 2014-01-04.
        Useful changes will be re-committed in smaller, logical chunks.
 
 2014-01-05  Bernd Warken  <address@hidden>
@@ -270,7 +270,7 @@
        * src/devices/gropdf/gropdf.pl: gropdf use to fail when handling
        output from preconv, now works.
 
-       * src/devices/gropdf/pdfmom.pl: can now be used as a pipeline, and 
+       * src/devices/gropdf/pdfmom.pl: can now be used as a pipeline, and
        improvements made to its switch handling and use with preconv.
 
        * tmac/pdf.tmac: changes to support preconv.
diff --git a/contrib/mom/ChangeLog b/contrib/mom/ChangeLog
index ace63d8..13213b1 100644
--- a/contrib/mom/ChangeLog
+++ b/contrib/mom/ChangeLog
@@ -1,3 +1,15 @@
+* Thu Apr 3 2014
+
+o contrib/mom/Makefile.sub: Set LC_ALL=C when calling $(PDFMOM).
+
+  Doing so in an UTF-8 locale with $PERL5OPT=-C set avoids warnings like
+
+    utf8 "\xF5" does not map to Unicode at\
+      [.]src/devices/gropdf/gropdf line 1359, <PD> line 63.
+    Malformed UTF-8 character (unexpected end of string)\
+      in substitution (s///) at\
+      [.]src/devices/gropdf/gropdf line 1315, <PD> line 63.
+
 * Sat Mar 29 2014
 
 o Makefile.sub: Handle examples separately, controlled by
diff --git a/contrib/mom/Makefile.sub b/contrib/mom/Makefile.sub
index 06058ec..c213d8f 100644
--- a/contrib/mom/Makefile.sub
+++ b/contrib/mom/Makefile.sub
@@ -114,7 +114,7 @@ MOSTLYCLEANADD=\
 
 .SUFFIXES: .mom .pdf
 .mom.pdf:
-       $(PDFMOM) $< >$@
+       LC_ALL=C $(PDFMOM) $< >$@
 
 all: stamp-strip $(make_pdfexamples)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]