[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to
From: |
Dmitri A. Sergatskov |
Subject: |
[Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file |
Date: |
Mon, 20 Mar 2023 11:45:56 -0400 (EDT) |
Follow-up Comment #41, bug #63931 (project octave):
As per https://savannah.gnu.org/bugs/?63930 it is not only binary
stream is affected, text too.
Also, I am not sure that setting __mfile_encoding__ in the interpreter to the
value in the editor is correct approach.
Perhaps interpreter should always be in utf-8 mode and editor
in whatever user chooses, but would convert the script to utf-8 (internally)
before sending to interpreter?
I see here:
https://www.mathworks.com/matlabcentral/answers/482380-how-to-set-the-encoding-of-matlab-m-files-to-be-utf8
<<<
As of R2020a, the MATLAB Editor will default to saving new files using UTF-8.
When opening existing files, the Editor and other functions like type or fopen
automatically determine the current encoding. One can explicitly specify that
the file should be saved using UTF-8 using the Save As dialog.
>>>
Dmitri.
--
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63931>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, (continued)
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Arun Giridhar, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Arun Giridhar, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Arun Giridhar, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Arun Giridhar, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Arun Giridhar, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/19
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Markus Mützel, 2023/03/20
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Nicholas Jankowski, 2023/03/20
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file,
Dmitri A. Sergatskov <=
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Markus Mützel, 2023/03/20
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/20
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Nicholas Jankowski, 2023/03/20
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/20
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Nicholas Jankowski, 2023/03/20
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/20
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/20
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Arun Giridhar, 2023/03/20
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/03/20
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Nicholas Jankowski, 2023/03/20