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:  Ready For Test Assigned to:  None
Originator Name:  Open/Closed:  Open
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.

 

Wed 09 May 2018 07:33:24 PM UTC, comment #2:

I pushed the patch here:
http://hg.savannah.gnu.org/hgweb/octave/rev/1f4ea87988a2

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:
   
   
Comment:
   

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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Wed 09 May 2018 07:33:24 PM UTC mmuetzel StatusPatch Submitted => Ready For Test
    Wed 09 May 2018 06:35:18 PM UTC mmuetzel Attached File- => Added bug53870_qt_uicontrol_utf8.patch, #44134
        StatusNone => Patch Submitted

    Back to the top


    Powered by Savane 3.3