Years ago, most text editing applications had the option to set the default file encoding to US-ASCII. Now I can't find any recent editor on Linux that allows you to choose ASCII. If the purpose is to restrict the character set to 7-bit ASCII, then choosing a superset like UTF-8 or ISO-8859-1 is not sufficient.

I would like to be able to use modern GNOME and Qt based desktop utilities, but I need to be able to set them up with US-ASCII as the default file encoding. Is there any way to do this on Linux (Debian)?

  • What do you want to happen when you type or paste a non-ascii character? – godlygeek Mar 9 at 6:15
  • On opening a file containing non-ASCII characters, it should issue a warning and preferably highlight the characters. If an open file contains non-ASCII characters, it should at least refuse to write out the file without an override and preferably highlight the characters. – Deqanix Mar 9 at 14:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.