bugGNU Octave - Bugs: bug #56782, GNU Octave encoding issues under...

 
 

bug #56782: GNU Octave encoding issues under windows

Submitter:  Blbulyan David <davidblbulyan>
Submitted:  Wed 21 Aug 2019 05:40:17 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Blbulyan David Open/Closed:  * Closed
Release:  * 5.1.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 21 Aug 2019 08:36:28 AM UTC, comment #1: 

There is a problem in Octave 5.1 that the selected encoding for .m files is not restored on startup.
You can either change the encoding in the settings and call "clear functions" to trigger the .m files being parsed again. Or you could call the internal function "__mfile_encoding__". For UTF-8 encoding that would be:

__mfile_encoding__ ("utf-8");
clear functions


You could also add these lines to your start-up file.

The issue is already fixed for Octave 6.1 that might be released around the end of this year.

Markus Mützel <mmuetzel>
Group administrator
Wed 21 Aug 2019 05:40:17 AM UTC, original submission:  

Such a problem, there is a program for the GNU Octave environment saved in UTF-8 encoding and Unix line wrapping format, created in Ubuntu (GNU Octave 4.2.2), it works correctly, the Russian text on the graph is displayed correctly, but if you copy it to a machine with windows 10, on which Octave 5.1 is installed, and run, then the Russian text is not displayed correctly, crocodiles, well, that is, there is a clear problem with the encodings. At the same time, in the settings of the built-in editor, UTF-8 encoding was selected and the correct, exactly the same line break format as on a Ubuntu machine, but the Russian text does not work on the graphs, while the output of the Russian text to the Octave console also does not work . What is the problem? Maybe somewhere else there is an encoding setting?

Blbulyan David <davidblbulyan>

 

(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 (Posted a comment)
  • -email is unavailable- added by davidblbulyan (Submitted the item)
  • -email is unavailable- added by davidblbulyan
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2019-08-29 mtmiller StatusNone Fixed
        Open/ClosedOpen Closed
    2019-08-21 davidblbulyan Attached File- Added zatuhayuchie_colebania.m, #47372
        Carbon-Copy- Added davidblbulyan

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code