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

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

[Octave-bug-tracker] [bug #60306] Error running files in a folder contai


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #60306] Error running files in a folder containing letters that aren't encoded in system locale
Date: Wed, 7 Apr 2021 12:07:47 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36 Edg/89.0.774.68

Follow-up Comment #22, bug #60306 (project octave):

Unfortunately, that is a peculiarity of the Windows OS and due to a design
choice MS made in the past (using a bunch of different locales instead of
switching to Unicode/UTF-8). Octave (and its users) isn't the only program
that has to live with the consequences of that decision. As I've shown in
comment #14, Matlab has it's issues with this as well.
You've been presented with two different workarounds within just short of two
days. First by Torsten less than an hour after your first submission who
suggested to stick to ASCII characters in the file path. Second by me
(selecting a locale that is "good" for you).

No one was claiming that this is something that "should be happening".
Like I pointed out, it took quite a while for (presumably) intelligent people
to come up with a standard solution to the problem (the "std::filesystem" API
in the C++17 STL). But it'll probably take some more time before support for
that API is widespread enough so that we can use it without breaking support
for some platforms.
Anyway, I'll ask on the next maintainers meeting if there are plans to allow
the newer STLs.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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