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

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

[Octave-bug-tracker] [bug #55974] Octave stuck on Linux when figure cont


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55974] Octave stuck on Linux when figure contains a string with non ASCII characters encoded in ISO 8859-1
Date: Thu, 21 Mar 2019 13:01:44 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36

Follow-up Comment #1, bug #55974 (project octave):

The short answer is that Octave does not currently have a heuristic way to
detect the file encoding simply by looking at the bytes.

If you change the setting in the Preferences, Editor tab, that says "Text
encoding used for loading and saving" to be "ISO-8859-1", then your
test_iso88591 script works correctly but the UTF-8 encoded script shows
garbage characters.

Maybe something can be done about Octave hanging when it tries to decode a
file that is not valid UTF-8 and hits an invalid byte sequence. Is that what
you'd like to see fixed here?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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