TeXworksInput Encoding

Information and discussion about TeXworks, an integrated LaTeX environment for several platforms
Post Reply
jakobkn
Posts: 2
Joined: Thu Apr 25, 2013 12:52 pm

Input Encoding

Post by jakobkn »

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!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
TikZ book
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Input Encoding

Post by localghost »

jakobkn wrote:[…] my TeXworks installation does not offer Latin 1 encoding as an optional encoding in editor options. […]
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.


Best regards and welcome to the board
Thorsten
Attachments
TeXworks-r1285-Preferences-Editor-Encoding.png
TeXworks-r1285-Preferences-Editor-Encoding.png (75.35 KiB) Viewed 14656 times
jakobkn
Posts: 2
Joined: Thu Apr 25, 2013 12:52 pm

Input Encoding

Post by jakobkn »

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 % !TEX encoding = ISO-8859-1 to the beginning of files did the trick.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Input Encoding

Post by localghost »

jakobkn wrote:[…] Adding % !TEX encoding = ISO-8859-1 to the beginning of files did the trick.
Note that this solution is only occasional for the current document. But perhaps better in this situation.
Post Reply