On Sat, 2025-08-02 at 15:17 +0200, Patrick Dupre via users wrote: > The file you opened has some invalid characters. If you continue > editing this file you could corrupt this document. Is the warning giving you an unnecessary scare? Do you *need* it to be 7-bit ASCII? Almost everything handles 8-bit text these days. Usually UTF-8 now, but previously one of the various ISO-8859 schemes (which could be a pain, as they were often unidentified and almost every computer system assumed it was their current system's default character encoding). What would often happen is that a file could start out as ASCII, because you've typed nothing but characters 0 to 127. Then you've added something that's above character 127 and *then* file will be saved in a scheme that supports it (usually your systems default). I've just had to deal with this on a webserver. For some stupid reason their default is Windows 1252, despite the server being Linux, and it declares all pages are using it regardless of what they actually are. For a lot of things that goes unnoticed, because people rarely type anything beyond the ASCII charset. But the moment you use something like proper “quotation marks” (and other standard punctuation), you have to use another encoding scheme than ASCII, *and* declare which one you've used. Browsers may try to guess, but they're only supposed to do that when the server didn't say what character encoding is being used (and they can get it wrong), otherwise they're supposed to obey whatever it says. And it doesn't help that they've taken away the option for a manual override, for those times that you need to view a mangled page. -- uname -rsvp Linux 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 (yes, this is the output from uname for this PC when I posted) Boilerplate: All unexpected mail to my mailbox is automatically deleted. I will only get to see the messages that are posted to the mailing list. -- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue