[OS X TeX] Unwanted conversion of Unicode characters to \UTF{code}
Herbert Schulz via MacOSX-TeX
macosx-tex at email.esm.psu.edu
Wed Nov 15 19:50:09 CET 2023
> On Nov 15, 2023, at 11:51 AM, Luís Fernando Sequeira <lfsequeira at gmail.com> wrote:
>
> Hello
>
> I have a friend using TeXShop that is writing documents in Portuguese.
> The documents are encoded in UTF-8, as they should be.
>
> Every time a non-ASCII character is entered, it looks ok, like áéçÕ, etc.
> But neither pdflatex with inputenc, nor xelatex with fonspec are able to typeset.
>
> What happens is these characters are strangely converted to something like \UTF{00E3},
> which cause the typeset to fail at that point.
>
>
> Even weirder, if he sends the files to me via e-mail, I receive them with these unwanted substitutions, so it seems there is something in reading these files that automatically converts them. For example:
>
> Original file:
> \author{João António-dos-Santos}
>
> Comes out as:
> \author{Jo\UTF{00E3}o Ant\UTF{00F3}nio-dos-Santos}
>
> when sent to me via e-mail...
>
> Any ideas of how to deal with it?
>
> TIA
>
> Luís Sequeira
>
Howdy,
You probably have During File Save->Automatic ... checked on the Misc2 tab of TeXShop->Settings. You might also check to see the utf export option under pTeX support (for Japan) is also not checked.
Good Luck,
Herb Schulz
herbs2 at mac.com
----------- Please Consult the Following Before Posting -----------
TeX FAQ: https://www.tug.org/mactex/faq/index.html
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: https://www.tug.org/mactex/index.html
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list.