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 09:44:09 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0

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

I don't know what gedit is doing. I am currently on Windows. And using
Notepad++, I can see the encoding that is used for displaying the current file
in the bottom bar (most files I use say "ANSI" or "UTF-8"). It looks like some
kind of heuristics might be at work here as well.

Editors have the "simple" task to "just" display and save text. So re-encoding
is probably not necessary. They probably just display the text in any given
encoding.
In contrast, strings in Octave can be passed to a number of different
libraries (all potentially having different requirements on the encoding of
strings). To avoid having to track the encoding from and to each interface, we
opted to try and convert at the interfaces and consistently use UTF-8 inside
Octave.

I agree that we should issue a warning if characters had to be replaced.

    _______________________________________________________

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]