[OS X TeX] Encoding question

Herbert Schulz herbs at wideopenwest.com
Fri Jul 6 19:35:11 CEST 2018


> On Jul 6, 2018, at 12:29 PM, R Martinez <rm.tech at mac.com> wrote:
> 
> All,
> 
> I want to change the font encoding of a file I’m working on from Latin9 to UTF-8 so my work is concordant with the latest encoding recommendations from Dick Koch and Herb Schulz.
> 
> I am using TeXShop 4.01 and MacTeX2018.
> 
> So I created a new copy of my old file and changed the encoding as shown below. Then I closed the new file, selected UTF-8 as the encoding in TeXShop's Preferences, reopened the file then typeset it. The typesetting was correct. So far so good. But based on my perusal of other emails on this list, I have an uneasy feeling that the command sequence shown below may not be quite correct; that a different order may work better or that I am missing a command. Am I missing something?
> 
> I’ll appreciate comments and suggestions. 
> 
> Thanks,
> 
> Raul Martinez

Howdy,

The directive should be

% !TEX encoding = UTF-8 Unicode

(i.e., add a space and Unicode to the end).

So the easiest thing to do and copy the contents of the file into a new document. Change the `% !TEX encoding =' line to reflect the new encoding you want to use (e.g., UTF-8 Unicode)---or add it to the top of the document. Save the new document. You can change the name of the document to replace the old one once it's saved (after you close TeXShop).

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)


----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list