bug-groff
[Top][All Lists]
Advanced

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

[bug #51330] preconv fails to detect utf-8 without BOM


From: G. Branden Robinson
Subject: [bug #51330] preconv fails to detect utf-8 without BOM
Date: Sun, 1 May 2022 21:15:01 -0400 (EDT)

Update of bug #51330 (project groff):

                Category:                    None => Preprocessor preconv   
         Planned Release:                    None => 1.22.4                 

    _______________________________________________________

Follow-up Comment #8:


commit 75c0873c3f0d9f353b967e316c20ee1bb06d1e86
Author: Bertrand Garrigues <bertrand.garrigues@laposte.net>
Date:   Tue Jul 4 23:40:46 2017 +0200

    Use uchardet library in `preconv' to detect input file encoding
    
    * m4/groff.m4 (GROFF_UCHARDET): new macro that use pkg-config to
    check if uchardet library is available and define new option
    `--with-uchardet':
    - If `yes' is passed and uchardet is not found, configure fails.
    - If `no' is passed we don't use uchardet and don't display any
    warning.
    - If `auto' (or any other option) is passed of if --with-uchardet
    is not passed, we use uchardet if available, otherwise the build
    goes on but a warning is displayed at the end of the configuration
    phase.
    
    * configure.ac: use pkg-config and `GROFF_UCHARDET' to detect the
    presence of uchardet library.
    
    * src/preproc/preconv/preconv.am: link against uchardet library if
    available.
    
    * src/preproc/preconv/preconv.cpp (detect_file_encoding): new
    function that uses uchardet library to detect input file encoding.
    (do_file): `detect_file_encoding'.
    
    * src/preproc/preconv/preconv.1.man: update `preconv'
    documentation.
    
    See https://savannah.gnu.org/bugs/?51330

commit fa41eeba06987a12bc0434f8b51896d4618a3997
Author: Bertrand Garrigues <bertrand.garrigues@laposte.net>
Date:   Wed Jul 12 00:36:16 2017 +0200

    Add gnulib module fprintf-posix
    
    * bootstrap.conf: do it.
    
    * Fix compilation in some files that needed inclusion of
    `config.h'.
    
    See https://savannah.gnu.org/bugs/?51330



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?51330>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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