bugGNU Octave - Bugs: bug #53870, Non-ASCII characters on uicontrols...


bug #53870: Non-ASCII characters on uicontrols are displayed incorrectly

Submitted by:  Markus Mützel <mmuetzel>
Submitted on:  Wed 09 May 2018 06:26:11 PM UTC  
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 27 May 2018 06:04:48 PM UTC, comment #3:

Closing as fixed.

Markus Mützel <mmuetzel>
Project Member
Wed 09 May 2018 07:33:24 PM UTC, comment #2:

I pushed the patch here:

Marking as ready for test.

Markus Mützel <mmuetzel>
Project Member
Wed 09 May 2018 06:35:18 PM UTC, comment #1:

The attached patch fixes the issue by converting from/to UTF-8 instead of the system code page.
It should be applied after bug #53842 is solved.
It might also make sense to solve bug #53646 first because FreeType is used to calculate the extent of the labels.

(file #44134)

Markus Mützel <mmuetzel>
Project Member
Wed 09 May 2018 06:26:11 PM UTC, original submission:

Under some circumstances (encoding of m-files different from system code page), non-ASCII characters on labels of uicontrols such as pushbuttons can be displayed wrong.

While this bug occurs mainly on Windows systems which don't support UTF-8 as the system code page, it could be occurring on any system which is configured to use a different system code page.

I'll upload a patch as soon as I have a bug number.

Markus Mützel <mmuetzel>
Project Member


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #44134:  bug53870_qt_uicontrol_utf8.patch added by mmuetzel (1005B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-27 mmuetzel StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2018-05-09 mmuetzel StatusPatch Submitted => Ready For Test
    2018-05-09 mmuetzel Attached File- => Added bug53870_qt_uicontrol_utf8.patch, #44134
        StatusNone => Patch Submitted

    Back to the top

    Powered by Savane 3.4