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

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

[Octave-bug-tracker] [bug #63415] Error in fwrite() or rand() or randn()


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #63415] Error in fwrite() or rand() or randn(), I'm not sure
Date: Mon, 20 Mar 2023 17:24:49 -0400 (EDT)

Follow-up Comment #31, bug #63415 (project octave):


> checking on octave 8.1.0, though, i get the same result. no filesize
difference.

Now do:


 __mfile_encoding__("latin1") 



Essentially when octave is forced to do conversion, it does it wrong. Char <
128 are written correctly, after that they become 
char(63). And once they become > 193 (so that 193+63 > 255) 
they become null and breaks writing.

Dmitri.
-- 



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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