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

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

[Octave-bug-tracker] [bug #49118] GUI editor cannot run file in folder n


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #49118] GUI editor cannot run file in folder name with umlaut
Date: Tue, 6 Dec 2016 20:15:45 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:51.0) Gecko/20100101 Firefox/51.0

Update of bug #49118 (project octave):

              Item Group:              Regression => Incorrect Result       
                 Release:                   4.2.0 => dev                    
        Operating System:               GNU/Linux => Microsoft Windows      

    _______________________________________________________

Follow-up Comment #42:

Attached is a patch in which I got rid of the pragma conditionals in the
header files. I also added wrappers so that these conditionals are no longer
needed in load-save.cc and the parser.

The conversion between byte strings (UTF-8, what Octave uses) and wstrings
(UTF-16, what the Windows filesystem uses) is done in u8_to_wstring and
wstring_to_u8 which converts between std::string and std::wstring with the
respective encodings.

However, it now only compiles with gcc 5 or newer because it uses the C++11
function std::wstring_convert. I tried with gcc 5.4.0 in mxe-octave, and it
works as expected for me on Windows 10.

I am still not sure which conditionals should be used. I stuck with
OCTAVE_USE_WINDOWS_API. But I have also seen OCTAVE_HAVE_WINDOWS_FILESYSTEM
and ! OCTAVE_HAVE_POSIX_FILESYSTEM in other places. I do not know the build
system well enough to judge which should be used here...

(file #39166)
    _______________________________________________________

Additional Item Attachment:

File name: bug49118_win32_wchar_t_API_v3.patch Size:10 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49118>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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