Error message: Invalid UTF-8 sequence (sometimes since update in last 3-4 weeks)
Good day
Disclaimer: I am a beginner, and I apologise upfront if there is a
simple answer to this question that I should have known.
Today I tried to compile an existing .tex file, and I received the
following error message:
/tex error on line 6 in file /Users/jjc/wrk/ctx/brx-test.pdf: ! String
contains an invalid utf-8 sequence/
It's been about 3 weeks since I last experimented with ConTeXt. I am
running on MacOS High Sierra 10.13.6, and I have not had an OS update
since I last ran ConTeXt.
I tried the following:
1) I tried to compile another file, which previously compiled
successfully, and I had the same problem.
2) I then created a very simple .tex file (\starttext Hello World
\stoptext ), and again I had the same problem.
3) I checked the format of my .tex file in 2 different editors to ensure
that it is utf-8. (I normally use MacVim and it is clearly displaying
the file format as utf-8 at the bottom of the editor)
4) I updated my ConTeXt installation, restarted my Mac and tried again.
The only difference was that some of the output stream was displayed
after the error message.
5) I checked the log file for my simple file, but could not find any
information to help me. The log file looks as follows:
/open source > level 1, order 1, name
'/Users/jjc/ctx/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system >
system > ConTeXt ver: 2018.09.13 17:41 MKIV beta fmt:
2018.9.17 int: english/english
system >
system > 'cont-new.mkiv' loaded
open source > level 2, order 2, name
'/Users/jjc/ctx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system > beware: some patches loaded from cont-new.mkiv
close source > level 2, order 2, name
'/Users/jjc/ctx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system > files > jobname 'tmp', input './tmp.pdf', result 'tmp'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > level 2, order 3, name '/Users/jjc/wrk/ctx/tmp.pdf'
tex error > tex error on line 6 in file
/Users/jjc/wrk/ctx/tmp.pdf: ! String contains an invalid utf-8 sequence x^=
;Â@@=/y?-$êíí--TÜ¿%xâô й йàËÓËÓÓ((ÇUUH'3ñ¤q/q/
!MUS8Ø[[LJãI×I...
1 %PDF-1.7
2 %ÌÕÁÔÅØÐÄÆ
3 9 0 obj
4 << /Filter /FlateDecode /Length 122 >>
5 stream
6 >> x^=;Â@û=
/yö®?¢-$êí-TÜ¿% xâô йàËÓ(ÇUH'3ñ¤q/²
!M°US8Ø[LJãI×0í·qùN
7 (×l&?.@U å>~¨j[ ¤§¼C8öW×OtåÅc!±
8 endstream
9 endobj
10 13 0 obj
11 << /Subtype /XML /Type /Metadata /Length 2016 >>
12 stream
13 <?xpacket begin=""
id="W5M0MpCehiHzreSzNTczkc9d"?>
Hi,
On 17 Sep 2018, at 10:50, Jacqui Coosner
wrote: Good day
Disclaimer: I am a beginner, and I apologise upfront if there is a simple answer to this question that I should have known.
Today I tried to compile an existing .tex file, and I received the following error message:
tex error on line 6 in file /Users/jjc/wrk/ctx/brx-test.pdf: ! String contains an invalid utf-8 sequence
Not that I really know what is wrong, but your context is trying to typeset a pdf document, instead of a tex source. Taco Hoekwater Elvenkind BV
On Mon, Sep 17, 2018 at 10:50 AM Jacqui Coosner
Good day
Disclaimer: I am a beginner, and I apologise upfront if there is a simple answer to this question that I should have known.
Today I tried to compile an existing .tex file, and I received the following error message:
*tex error on line 6 in file /Users/jjc/wrk/ctx/brx-test.pdf: ! String contains an invalid utf-8 sequence*
As taco have said, your actions in the end are resolved in calling context /Users/jjc/wrk/ctx/brx-test.pdf instead of (presumably) context /Users/jjc/wrk/ctx/brx-test.tex
-- luigi
participants (3)
-
Jacqui Coosner
-
luigi scarso
-
Taco Hoekwater