bugGNU Octave - Bugs: bug #59387, Change default codepage of text...

 
 

bug #59387: Change default codepage of text editor to UTF-8 on all platforms

Submitter:  Markus Mützel <mmuetzel>
Submitted:  Sat 31 Oct 2020 11:09:18 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
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
   

Sat 28 Nov 2020 03:14:52 PM UTC, comment #3: 

I pushed this change to default:
https://hg.savannah.gnu.org/hgweb/octave/rev/eb6599cf2db5

Marking as ready for test.

Markus Mützel <mmuetzel>
Group administrator
Thu 12 Nov 2020 05:43:40 PM UTC, comment #2: 

See the attached patch for a possible change to use UTF-8 encoded .m files by default.

(file #50260)

Markus Mützel <mmuetzel>
Group administrator
Tue 03 Nov 2020 07:50:11 AM UTC, comment #1: 

Re-titling: It makes sense to tread all platforms equally.

Markus Mützel <mmuetzel>
Group administrator
Sat 31 Oct 2020 11:09:18 AM UTC, original submission:  

Bug #49685 originally had this title. But it drifted into a different direction and has since been closed.

Starting with Matlab R2020a, the default encoding used for .m files in Matlab on Windows is UTF-8:
https://de.mathworks.com/help/matlab/release-notes.html?category=desktop&rntext=File+encoding&startrelease=R2017b&endrelease=R2020b&groupby=release&sortby=descending&searchHighlight=File+encoding

The main argument against switching to UTF-8 as the default encoding for .m files on Windows was compatibility with Matlab on the same platform. With the recent change, I guess that argument is no longer valid.

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-12-12 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2020-11-28 mmuetzel StatusPatch Submitted Ready For Test
    2020-11-12 mmuetzel Attached File- Added bug59387_default_utf-8.patch, #50260
        StatusNone Patch Submitted
    2020-11-03 mmuetzel Operating SystemMicrosoft Windows Any
        SummaryChange default codepage of text editor to UTF-8 on Windows Change default codepage of text editor to UTF-8 on all platforms

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code