Hello,
my TeXworks installation does not offer Latin 1 encoding as an optional encoding in editor options. I would like to have this due to collaboration with other people using TeXMaker editor with latin1 encoding (æøå characters are translated into �).
Does anyone know how TeXworks can be configured to do this? The version I'm using is that which is shipped with MiKTeX 2.9, fully updated. I imagined it would only be a matter of adding the appropriate .def file somewhere, but I have been unsuccessful thus far.
Any help appreciated!
TeXworks ⇒ Input Encoding
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Input Encoding
It offers this encoding (ISO-8859-1) very well (see attachment). But it is suggestive to use Unicode (UTF-8). Nearly all other mordern editors off this encoding. So it should be no problem for your partners to recode their documents.jakobkn wrote:[…] my TeXworks installation does not offer Latin 1 encoding as an optional encoding in editor options. […]
Best regards and welcome to the board
Thorsten
- Attachments
-
- TeXworks-r1285-Preferences-Editor-Encoding.png (75.35 KiB) Viewed 14656 times
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Input Encoding
Ah, thank you very much. I see now that I did not update the editor correctly when trying other ISO standards, and thus did not realize ISO-8859-1 = Latin1.
Adding
Adding
% !TEX encoding = ISO-8859-1
to the beginning of files did the trick.- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Input Encoding
Note that this solution is only occasional for the current document. But perhaps better in this situation.jakobkn wrote:[…] Adding% !TEX encoding = ISO-8859-1
to the beginning of files did the trick.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10