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

 
 

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

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

 

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>
Project Member
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>
Project Member
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>
Project Member

 

(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 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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    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.5