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, 31 Mar 2021 04:26:27 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36 Edg/89.0.774.63

Update of bug #60306 (project octave):

                  Status:               Confirmed => Postponed              
                 Summary: Error running files in a folder containing letter
"č" => Error running files in a folder containing letters that aren't encoded
in system locale

    _______________________________________________________

Follow-up Comment #20:

"CP1252" doesn't have a code point for "č". But it encodes "š" at code point
0x9A:
https://en.wikipedia.org/wiki/Windows-1252

I might work if you changed your system locale to one that encodes all (or
most) characters you'd like to use. Maybe "CP1250" would better match your
requirements:
https://en.wikipedia.org/wiki/Windows-1250

For instructions how to change the system locale on Windows, see e.g. here:
https://www.java.com/en/download/help/locale.html

A "real" fix in Octave will probably be to move away from gnulib's
`canonicalize_file_name` replacements on Windows and use
`std::filesystem::canonical` from C++17 STL instead. But we can't do that yet
because we still support compilers that (only) know C++11.

Marking as postponed.



    _______________________________________________________

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]