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


bug #49685: Change default codepage of text editor to UTF-8 on Windows

Submitted by:  Markus Mützel <mmuetzel>
Submitted on:  Wed 23 Nov 2016 06:21:14 PM UTC  
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Microsoft Windows

Add a New Comment(Rich Markup)

You are not logged in

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


Wed 23 Nov 2016 09:18:33 PM UTC, comment #2:

See also bug #45597. I find it hard to decide what is the more important usecase for Windows Octave:

  • exchange m-files with Windows Matlab (That's why the default encoding in Windows is currently "system". That's "my" usecase.)
  • exchange m-files with Linux Octave, or with Windows Octave of other locales (proposal in this bug report, could be best covered with "utf8" encoding).
Hartmut <hardy>
Wed 23 Nov 2016 06:26:06 PM UTC, comment #1:

Attached is a patch that makes the proposed change.

(file #39059)

Markus Mützel <mmuetzel>
Project Member
Wed 23 Nov 2016 06:21:14 PM UTC, original submission:

Octave has a hard life with respect to international (non-ASCII) characters on Windows and there are a lot of (partly overlapping) open bug reports covering many different issues.
It would make things easier if we used only one encoding consistently all over Octave.

At the moment, the standard encoding for the text editor is set to "System" on Windows. That points to a lot of different codepages dependent on the locale of Windows (and its standard codepage). UTF-8 is the default codepage on non-Windows systems. This makes it difficult to exchange Octave files containing non-ASCII characters between different platform (or different locales of Windows).

UTF-8 can be used to encode any glyph that is available in Unicode.
Can we also make it the default on Windows?

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 #39059:  bug49685_editor_default_codepage.patch added by mmuetzel (865B - 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 hardy (Posted a comment)
  • -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.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-23 mmuetzel Attached File- => Added bug49685_editor_default_codepage.patch, #39059

    Back to the top

    Powered by Savane 3.3