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

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

[Octave-bug-tracker] [bug #59269] dlmread error when file path have utf8


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59269] dlmread error when file path have utf8 character
Date: Wed, 28 Oct 2020 05:10:16 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36 Edg/86.0.622.51

Update of bug #59269 (project octave):

                 Release:                   5.2.0 => 6.0.92                 

    _______________________________________________________

Follow-up Comment #13:

This particular error is already fixed for Octave 7 by using the `wchar_t`
overload to open file streams on Windows:
https://hg.savannah.gnu.org/hgweb/octave/rev/159b6a1eb408

I'm considering grafting that change to stable (Octave 6).
Revisiting that changeset, I'd guess that there is only a low risk of error if
we would graft it to stable (even if it touches a lot of files).
The work-around at the moment is to avoid non-ASCII characters in file names
(at least in their first 6 bytes).

I'm tentatively setting the release to 6.0.92.

But on the long run, we'll probably need a more general fix for
`octave::sys::get_ASCII_filename`. That change should probably be done on the
default branch (Octave 7).


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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