[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: |
Sun, 2 Apr 2023 04:04:32 -0400 (EDT) |
Follow-up Comment #61, bug #63931 (project octave):
> A suggested workaround is to set encoding to "utf-8".
I'm not sure if this is a good work-around in general. If users have .m files
with non-ASCII characters, they'd need to continue using the same encoding
that they used when creating those .m files.
Alternatively, they could transcode all their .m files to UTF-8 and start
using that from now on.
Fixing the encoding to "UTF-8" when opening the file stream with `fopen` might
be a better workaround for Octave 8.1. But that might require changes in
multiple places or in .m files that aren't "owned" by the user.
> I see references to Octave 8.2, but is it available yet as a Windows
package?
Nightly builds that include the recent fixes should be available from here
when the workers are up again:
https://buildbot.octave.space/#/download
(Wait for a build after March 31 that will default to outputting UTF-8 when no
encoding is specified with `fopen`.)
_______________________________________________________
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, Markus Mützel, 2023/04/01
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Markus Mützel, 2023/04/01
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/04/01
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Henk Borsje, 2023/04/01
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/04/01
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Dmitri A. Sergatskov, 2023/04/01
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file,
Markus Mützel <=
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Markus Mützel, 2023/04/02
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Markus Mützel, 2023/04/07
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Charles Praplan, 2023/04/08
- [Octave-bug-tracker] [bug #63931] Binary fwrite writes incorrect data to file, Markus Mützel, 2023/04/08