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

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

[Octave-bug-tracker] [bug #64139] fileread doesn't support 'encoding' ar


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #64139] fileread doesn't support 'encoding' argument
Date: Thu, 4 May 2023 06:30:06 -0400 (EDT)

Follow-up Comment #4, bug #64139 (project octave):


> As for adding the 'encoding' argument for fileread: is it a matter of
passing the argument to the fopen call or am I still being confused?

That would probably be it.

I was looking at Matlab's online documentation for that function:
https://www.mathworks.com/help/matlab/ref/fileread.html

text = fileread(filename,Encoding=encoding)

I don't know if it is possible to implement that in a way that would be Matlab
compatible. Afaict, Octave doesn't support that kind of syntax (yet).



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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