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

 
 

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

Submitter:  Markus Mützel <mmuetzel>
Submitted:  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
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Closing as fixed.

Markus Mützel <mmuetzel>
Group administrator
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>
Group administrator
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>
Group administrator
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>
Group administrator

 

(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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group 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.13-f8d8.
    Corresponding source code