|
From: | Juan Pablo Carbajal |
Subject: | [Octave-bug-tracker] [bug #57341] iso-8859-1 encoding triggers error in get_first_help_sentence.m |
Date: | Mon, 2 Dec 2019 04:18:37 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0 |
URL: <https://savannah.gnu.org/bugs/?57341> Summary: iso-8859-1 encoding triggers error in get_first_help_sentence.m Project: GNU Octave Submitted by: juanpi Submitted on: Mon 02 Dec 2019 09:18:35 AM UTC Category: Octave Function Severity: 3 - Normal Priority: 5 - Normal Item Group: Unexpected Error Status: None Assigned to: None Originator Name: juanpi Originator Email: Open/Closed: Open Discussion Lock: Any Release: dev Operating System: Any _______________________________________________________ Details: The two attached files contain the same symbols but with different encodings. The iso-8859-1 fails: octave-gui:1> txt = get_first_help_sentence('foo_utf_8') txt = This characters will trigger the error: ü ° ± octave-gui:2> txt = get_first_help_sentence('foo_iso_8859_1') error: regexp: the input string is invalid UTF-8 error: called from get_first_help_sentence>first_sentence_plain_text at line 89 column 14 get_first_help_sentence at line 66 column 22 _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Mon 02 Dec 2019 09:18:35 AM UTC Name: foo_iso_8859_1.m Size: 93B By: juanpi <http://savannah.gnu.org/bugs/download.php?file_id=47963> ------------------------------------------------------- Date: Mon 02 Dec 2019 09:18:35 AM UTC Name: foo_utf_8.m Size: 91B By: juanpi <http://savannah.gnu.org/bugs/download.php?file_id=47964> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?57341> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |