[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: |
Hartmut |
Subject: |
[Octave-bug-tracker] [bug #49118] GUI editor cannot run file in folder name with umlaut |
Date: |
Sun, 23 Oct 2016 21:33:09 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
Follow-up Comment #26, bug #49118 (project octave):
I have compiled Octave with my proposed changes from comment #25 (change all
QString::toLatin1 into QString::toLocal8Bit) and it does NOT help (with qt 4
under Linux). It seems that those encodings don't take effect "deep" enough in
the GUI.
But I tried an even simpler patch, and it DOES help! If I re-add the line with
"setCodecForCStrings" in octave-gui.cc for (only in qt4 builds), then all
works fine:
* running m-scripts in folders with Umlauts works fine from the GUI editor
* using the inputdlg command to receive non-english characters, also works
fine.
I will attach a tiny PATCH to show what I only did to solve all the observed
behaviors reported in this bug report. I have tested this patch only for qt4
builds under Linux, so far. But I would nevertheless consider this patch very
"low risk": It only changes the code for qt4 builts (qt5 builts will not
change at all). And it only re-adds a single line of code, that was present in
all former (GUI) releases as well.
If noone else finds any problems with this patch, then I would be happy to see
it in the upcomaing Octave 4.2 release. It would make using the GUI a
significant bit nicer for all non-english Octave users.
(file #38798)
_______________________________________________________
Additional Item Attachment:
File name: SetQt4EncodingForCStrings.patch Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49118>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49118] GUI editor cannot run file in folder name with umlaut, Hartmut, 2016/10/01
- [Octave-bug-tracker] [bug #49118] GUI editor cannot run file in folder name with umlaut, Rik, 2016/10/01
- [Octave-bug-tracker] [bug #49118] GUI editor cannot run file in folder name with umlaut, Rik, 2016/10/08
- [Octave-bug-tracker] [bug #49118] GUI editor cannot run file in folder name with umlaut, Hartmut, 2016/10/23
- [Octave-bug-tracker] [bug #49118] GUI editor cannot run file in folder name with umlaut,
Hartmut <=
- [Octave-bug-tracker] [bug #49118] GUI editor cannot run file in folder name with umlaut, John W. Eaton, 2016/10/26
- [Octave-bug-tracker] [bug #49118] GUI editor cannot run file in folder name with umlaut, Hartmut, 2016/10/26
- [Octave-bug-tracker] [bug #49118] GUI editor cannot run file in folder name with umlaut, John W. Eaton, 2016/10/27
- [Octave-bug-tracker] [bug #49118] GUI editor cannot run file in folder name with umlaut, Hartmut, 2016/10/27