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

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

[Octave-bug-tracker] [bug #55452] fopen() does not support encoding argu


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #55452] fopen() does not support encoding argument
Date: Sat, 9 Mar 2019 15:27:49 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Follow-up Comment #20, bug #55452 (project octave):

I pushed the part of the patch that fixes the validation of the name for the
encoding here:
http://hg.savannah.gnu.org/hgweb/octave/rev/7506884fc158


Octave's internal string encoding is UTF-8.

You are right: We probably need to do the conversion after we formatted the
string and before actually passing it on to the file stream.
The fprintf logic is not generic enough for all cases.
I am working on a patch for this right now.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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