bug-texinfo
[Top][All Lists]
Advanced

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

[bug #42896] texi2any does not make error nicely in case of encoding iss


From: Vincent Belaïche
Subject: [bug #42896] texi2any does not make error nicely in case of encoding issue
Date: Fri, 01 Aug 2014 07:29:45 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0

URL:
  <http://savannah.gnu.org/bugs/?42896>

                 Summary: texi2any does not make error nicely in case of
encoding issue
                 Project: texinfo - GNU documentation system
            Submitted by: vincentb1
            Submitted on: ven. 01 août 2014 07:29:44 GMT
                Category: None
                 Release: 
                Priority: 5 - Normal
                Severity: 3 - Normal
              Item Group: None
                 Privacy: Public
             Open/Closed: Open
             Assigned to: None
         Discussion Lock: Any
                  Status: None

    _______________________________________________________

Details:

It attached an exemple (it is not really minimal, but you will easily see what
happens). 

I am a dumb user, and I set:


@documentencoding US-ASCII


in the document header (line 6), but at the same time I do


* Mon entrée:Mon noeud. Tra lala


with `é' at line 59. texi2any then makes this error message:


ascii "\xE9" does not map to Unicode at
c:/Programme/GNU/installation/texinfo-install/trunk/tp//Texinfo/Parser.pm line
1913, <FH> line 6.


which is not really easy for the dumb user to find that his/her error is
related to line 59 and due to his/her non observance of the encoding
declaration of line 6 --- well does the `line 6' in error message relate to
line 6 of temp.texi ?

So, this is not _really_ a bug, but a suggestion for improvement. 
 





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: ven. 01 août 2014 07:29:44 GMT  Name: temp.texi  Size: 1 ko   By:
vincentb1

<http://savannah.gnu.org/bugs/download.php?file_id=31812>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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