[Github-comments] [geany/geany] Format error. (#2874)

elextr notifications at xxxxx
Sat Aug 28 04:17:10 UTC 2021


@Independent-X what is your locale, and what does the `encoding:` in the status bar show?

To be clear, files are saved with the encoding set in the save dialog (which defaults to what is in the status bar).  Users can set what encoding they want a file saved in, and Geany does what it is told, so it will never read the contents of the file to decide an encoding to save a file.

The contents are considered when loading (unless the user explicitly specifies an encoding) because there is no setting available then.  That is the only time the `-*- coding:` line is considered.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2874#issuecomment-907564766
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210827/47438637/attachment.htm>


More information about the Github-comments mailing list