[OS X TeX] Unwanted conversion of Unicode characters to \UTF{code}

Herbert Schulz herbs2 at mac.com
Wed Nov 15 13:50:09 EST 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




More information about the MacOSX-TeX mailing list