You can also save this as executable shell script file and use that to open files by default. You can save this as a shell alias, so that you can use it repeatedly with out having to retype the whole command all the time. The application option to use is –encoding=ENCODING. The gedit program provides some command line options that can be used to change the encoding used by the files. In order to get around the issue, you can change the default option of the editor using the command line. You will need to remember to select the specific encoding every time. However if you always want to open the file in a specific format, irrespective of what the automatic detection tells you, then this could be annoyance. This works in most cases, and you can always change it when opening the file. The work around for this is to load the file again by clicking on the open button, and selecting a different character encoding in the file dialog.īy default, the selected option in the file dialog is “ automatically detected“. Unlike some of the other feature rich text editors such as kate, you cannot change the encoding of the file once you have loaded the file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |