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

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

[Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file
Date: Mon, 20 Mar 2023 06:02:54 -0400 (EDT)

Follow-up Comment #39, bug #63931 (project octave):

Thanks for bisecting.

I'd guess the encoding *should not* be converted if the output stream was
opened in binary mode. I can't tell if that is currently the case (without
checking the code again in more detail). I probably won't be able to look into
that before in one or two weeks.

In the meantime, could someone please check with Matlab if the encoding is
converted when writing to an output stream that was opened in binary mode?

Until this is properly fixed, setting the encoding to "UTF-8" when opening the
output stream might be a work-around.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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