octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #49685] Set .m file encoding on a per-director


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #49685] Set .m file encoding on a per-directory basis
Date: Fri, 2 Oct 2020 11:54:53 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 Edg/85.0.564.63

Update of bug #49685 (project octave):

                  Status:             In Progress => Ready For Test         

    _______________________________________________________

Follow-up Comment #21:

The attached patch implements the approach outlined in comment #20.
It would still be possible to call `dir_encoding` from a PKG_ADD script (with
the previously described pitfalls).
But the preferred way would be to have a file named `.oct_config` in the same
folder with the .m files. That file would contain a line defining the encoding
used in these .m files.
E.g.:

encoding=iso8859-1


I believe the patch is now ready for test.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?49685>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]