[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55974] Octave stuck on Linux when figure cont
From: |
Roland Baudin |
Subject: |
[Octave-bug-tracker] [bug #55974] Octave stuck on Linux when figure contains a string with non ASCII characters encoded in ISO 8859-1 |
Date: |
Fri, 22 Mar 2019 04:38:16 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0 |
Follow-up Comment #2, bug #55974 (project octave):
This is clearly a bug that Octave hangs in this case.
You can find attached another example. This new script 'test_iso88591_2.m'
(file encoded as ISO 8859-1) is simpler than the previous one and clearly
shows the bug on Linux. It contains only two lines:
display('Fréquence');
xlabel('Fréquence');
On Linux, the first one is executed and the string is displayed as
'Fr�quence', which is what is expected.
The second line makes Octave 5.1.0 hang (OpenGL or fltk graphics toolkit).
In Octave 4.4.1, the second line does silently nothing, which is also a bug.
When a string is not encoded as expected, Octave should display it, with
garbage characters where the encoding differs, in console or graphics.
(file #46610)
_______________________________________________________
Additional Item Attachment:
File name: test2.zip Size:0 KB
<https://savannah.gnu.org/file/test2.zip?file_id=46610>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55974>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/