TeXworks ⇒ Input Encoding
Input Encoding
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!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- 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 15185 times
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Input Encoding
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.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10