[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash
From: |
John Donoghue |
Subject: |
[Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash |
Date: |
Sat, 8 Dec 2018 15:15:38 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0 |
Follow-up Comment #7, bug #55139 (project octave):
Yes - "System" is not a valid code name in ICU.
libgui/src/m-editor/file-editor-tab.cc, line 1754:
QTextCodec *codec = QTextCodec::codecForName (_encoding.toLatin1 ());
So if encoding there was Systsem, it would (and was) fail. It now checks that
if it didnt get a codec, to use the local, however settings:
libgui/src/resource-manager.cc line 395:
resource_manager::do_combo_encoding
will only set the selected value in the settings combo box if 'enc' was set
(which it isnt as "System" wasnt a codec)
So at that point the combox box selects the first one in the list.
On my machine, the one returned by QTextCodec::codecForLocale() is
"windows-1252"
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55139>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash, Torsten, 2018/12/01
- [Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash, John Donoghue, 2018/12/03
- [Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash, Torsten, 2018/12/05
- [Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash, John Donoghue, 2018/12/05
- [Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash, Markus Mützel, 2018/12/08
- [Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash,
John Donoghue <=
- [Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash, Markus Mützel, 2018/12/08
- [Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash, Torsten, 2018/12/08
- [Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash, Torsten, 2018/12/09
- [Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash, John Donoghue, 2018/12/11
- [Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash, Markus Mützel, 2018/12/13
- [Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash, Torsten, 2018/12/13
- [Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash, Markus Mützel, 2018/12/13
- [Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash, Torsten, 2018/12/13
- [Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash, John Donoghue, 2018/12/17
- [Octave-bug-tracker] [bug #55139] m-editor locale failure caused crash, Torsten, 2018/12/22