[texworks] Editor messes with Latin1 encoded files (Umlaute destroyed)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Jan 6 21:45:23 CET 2010


On 06/01/2010 20:39, Matthias Pospiech wrote:
> Hello,
> If I open a latin1 encoded file (no utf8, created under windows with
> standard encoding)
> I see all umlaute as wired files. If I correct it and save I see all
> changed umlaute in another editor
> as utf8 and thus wrong encoding.
>
> How can I ensure that texworks always opens in the right encoding?
>
> Matthias
>
You'll need to include a magic comment at the start of the file:

% !TEX encoding = <insert-encoding-here>

or of course change the TeXworks preferences to default to something 
other than UTF8.
-- 
Joseph Wright


More information about the texworks mailing list