Skip to content

Different background color due to file encoding chosen in Komodo Edit 11 #3701

@StefanGitHuber

Description

@StefanGitHuber

Short Summary

Background color changes with the chosen file encoding of Komodo Edit.

Steps to Reproduce

Open example file ASVspoof2019_baseline_CM.m.
(BTW, could be also a .py Python file).
Since I set globally any file encoding to my preferred UTF-8, it opens as UTF-8.
And Komodo Edit recognizes it as Matlab.

Problem, it changes my common background color.
Please see picture, background is too light "2019-02-26 Matlab in UTF8 different background color.png".
2019-02-26 matlab in utf8 different background color

Selecting then ASCII (menu to the right bottom for file encoding, to the left of file type Matlab)
changes the background color to my common setting.
Please see picture "2019-02-26 Matlab in ASCII same background color.png".
2019-02-26 matlab in ascii same background color

Expected results

It should not change the background color no matter which file encoding chosen.

Actual results

It does change the background color according to the chosen file encoding.

Platform Information

Komodo Edit or IDE?
Komodo Edit 11.0

Komodo Version?
Komodo Edit 11.0

Operating System (and version)?
Reproducable on two OS versions:
Ubuntu 16.04 TLS
Linux Mint 19.1 Tessa Cinnamon

Additional Information

Please inspect my color scheme daylight-180926.ksf.txt (added the .txt extension so I can upload).
daylight-180926.ksf.txt

Further problem:
Please note that the Linux tool 'file' tells the Matlab file is encoded as ASCII:
file -i ASVspoof2019_baseline_CM.m
ASVspoof2019_baseline_CM.m: text/plain; charset=us-ascii

However, when I have selected UTF-8 in Komodo and save the file,
the file is still recognized as the same us-ascii as before.
Komodo Edit 11.0 does not change the file encoding on both Linux System

Good luck to all of us :)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions