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: Bertrand Garrigues
Subject: [bug #51330] preconv fails to detect utf-8 without BOM
Date: Tue, 4 Jul 2017 18:29:54 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #2, bug #51330 (project groff):

Yes you are right, libmagic returns a textual description that must be parsed.
 Uchardet is really easy to use, here is a draft patch to automatically
detects if libuchardet is available with pkg-config, and use it in preconv if
available. Not the definitive version though (man doc should be updated, and I
also need to check which is the 1st usable version of uchardet, for the moment
I put version 0.0.1).


(file #41121)
    _______________________________________________________

Additional Item Attachment:

File name: 0001-Use-libchardet-for-preconv.patch Size:6 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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