octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #57341] iso-8859-1 encoding triggers error in


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57341] iso-8859-1 encoding triggers error in get_first_help_sentence.m
Date: Thu, 5 Dec 2019 14:01:14 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

Follow-up Comment #12, bug #57341 (project octave):

The attached patch emits a warning when invalid UTF-8 byte sequences have been
replaced:

>> txt = get_first_help_sentence('foo_iso_8859_1')

warning: Invalid UTF-8 byte sequences have been replaced.
warning: called from
    get_first_help_sentence at line 61 column 23

txt =  This characters will trigger the error: � � �


I'd like to include the file name. But I don't know if it possible to get that
from the FILE pointer.

(file #48004)
    _______________________________________________________

Additional Item Attachment:

File name: bug57341_input_invalid_utf8_v2.patch Size:6 KB
   
<https://savannah.gnu.org/file/bug57341_input_invalid_utf8_v2.patch?file_id=48004>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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