ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Error message: Invalid UTF-8 sequence (sometimes since update in last 3-4 weeks)
@ 2018-09-17  8:50 Jacqui Coosner
  2018-09-17  9:27 ` Taco Hoekwater
  2018-09-17  9:43 ` luigi scarso
  0 siblings, 2 replies; 5+ messages in thread
From: Jacqui Coosner @ 2018-09-17  8:50 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 5218 bytes --]

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^=
      ;\x0eÂ@@\f\x05=/y?-\x12$êí\x10í\x10-\x10-TÜ¿%\x10xâ\x06\x06ô й йàËÓËÓÓ((ÇUUH'3ñ¤q/q/\x19 
!MUS8Ø[[LJãI×I...

  1     %PDF-1.7
  2     %ÌÕÁÔÅØÐÄÆ
  3     9 0 obj
  4     << /Filter /FlateDecode /Length 122 >>
  5     stream
  6 >>  x^=Œ;\x0eÂ@\f\x05û=…/€yö®?‘¢-\x12$êí\x10-TÜ¿%\x10 xšâ\x06ô йàËÓ(ÇUH„'3ñ¤q/²\x19 
!M°U‡S8Ø[LJãI×\x190í·qù›\x01N\x0f
  7     (×l&?­.@U å>“~¨j[ ¤§¼C\x028öW×Ot\x19å\x05Åc!±
  8     endstream
  9     endobj
10     13 0 obj
11     << /Subtype /XML /Type /Metadata /Length 2016 >>
12     stream
13     <?xpacket begin="" 
id="W5M0MpCehiHzreSzNTczkc9d"?><x:xmpmeta 
xmlns:x="adobe:ns:meta/"><rdf:RDF 
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description 
rdf:about="" 
xmlns:dc="http://purl.org/dc/elements/1.1/"><dc:format>application/pdf</dc:format><dc:creator><rdf:Seq><rdf:li 
xml:lang="x-default"/></rdf:Seq></dc:creator><dc:description><rdf:Alt><rdf:li 
xml:lang="x-default"/></rdf:Alt></dc:description><dc:title><rdf:Alt><rdf:li 
xml:lang="x-default">tmp</rdf:li></rdf:Alt></dc:title></rdf:Description><rdf:Description 
rdf:about="" xmlns:pdfx="http://ns.adobe.com/pdfx/1.3/"><pdfx:ID>tmp | 
2018-09-17T10:36:11+02:00</pdfx:ID><pdfx:ConTeXt.Jobname>tmp</pdfx:ConTeXt.Jobname><pdfx:ConTeXt.Time>2018-09-17 
10:36</pdfx:ConTeXt.Time><pdfx:ConTeXt.Url>www.pragma-ade.com</pdfx:ConTeXt.Url><pdfx:ConTeXt.Support>contextgarden.net</pdfx:ConTeXt.Support><pdfx:ConTeXt.Version>2018.09.13 
17:41</pdfx:ConTeXt.Version><pdfx:TeX.Support>tug.org</pdfx:TeX.Support><pdfx:LuaTeX.Version>1.09</pdfx:LuaTeX.Version><pdfx:LuaTeX.Functionality>6930</pdfx:LuaTeX.Functionality><pdfx:LuaTeX.LuaVersion>5.3</pdfx:LuaTeX.LuaVersion><pdfx:LuaTeX.Platform>osx-64</pdfx:LuaTeX.Platform></rdf:Description><rdf:Description 
rdf:about="" 
xmlns:xmp="http://ns.adobe.com/xap/1.0/"><xmp:CreateDate>2018-09-17T10:36:11+02:00</xmp:CreateDate><xmp:CreatorTool>LuaTeX 
1.09 6930 + ConTeXt MkIV 2018.09.13 
17:41</xmp:CreatorTool><xmp:ModifyDate>2018-09-17T10:36:11+02:00</xmp:ModifyDate><xmp:MetadataDate>2018-09-17T10:36:11+02:00</xmp:MetadataDate></rdf:Description><rdf:Description 
rdf:about="" 
xmlns:pdf="http://ns.adobe.com/pdf/1.3/"><pdf:Keywords/><pdf:Producer>LuaTeX-1.09</pdf:Producer><pdf:Trapped>False</pdf:Trapped></rdf:Description><rdf:Description 
rdf:about="" 
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"><xmpMM:DocumentID>uuid:b3de9df0-4961-b363-350b-5ad87c38575c</xmpMM:DocumentID><xmpMM:InstanceID>uuid:05361f45-44fe-8816-3e28-0accb69e9eec</xmpMM:InstanceID></rdf:Description></rdf:RDF></x:xmpmeta><?xpacket 
end="w"?>
14     endstream
15     endobj
16     16 0 obj
?
tex error       > tex error on line 6 in file 
/Users/jjc/wrk/ctx/tmp.pdf: ! Interruption
<to be read again> /

I would appreciate any help or advice.


-- 
Kind regards
Jacqui Coosner
Cell: 083-252-7483


[-- Attachment #1.2: Type: text/html, Size: 7950 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Error message: Invalid UTF-8 sequence (sometimes since update in last 3-4 weeks)
  2018-09-17  8:50 Error message: Invalid UTF-8 sequence (sometimes since update in last 3-4 weeks) Jacqui Coosner
@ 2018-09-17  9:27 ` Taco Hoekwater
  2018-09-17  9:43 ` luigi scarso
  1 sibling, 0 replies; 5+ messages in thread
From: Taco Hoekwater @ 2018-09-17  9:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

> On 17 Sep 2018, at 10:50, Jacqui Coosner <jacqui.coosner@gmail.com> 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




___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Error message: Invalid UTF-8 sequence (sometimes since update in last 3-4 weeks)
  2018-09-17  8:50 Error message: Invalid UTF-8 sequence (sometimes since update in last 3-4 weeks) Jacqui Coosner
  2018-09-17  9:27 ` Taco Hoekwater
@ 2018-09-17  9:43 ` luigi scarso
  1 sibling, 0 replies; 5+ messages in thread
From: luigi scarso @ 2018-09-17  9:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 625 bytes --]

On Mon, Sep 17, 2018 at 10:50 AM Jacqui Coosner <jacqui.coosner@gmail.com>
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*
>
>
> 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

[-- Attachment #1.2: Type: text/html, Size: 1721 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Error message: Invalid UTF-8 sequence (sometimes since update in last 3-4 weeks)
  2018-09-17 13:23 Jacqui Coosner
@ 2018-09-17 14:41 ` luigi scarso
  0 siblings, 0 replies; 5+ messages in thread
From: luigi scarso @ 2018-09-17 14:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 298 bytes --]

On Mon, Sep 17, 2018 at 3:23 PM Jacqui Coosner <jacqui.coosner@gmail.com>
wrote:

> I am beyond embarrassed. After 2 (unnecessary) re-installs, it turns out I
> had just confused 2 separate commands in my VIM editor.
>
so you are a vim user... good to know. <http://www.pragma-ade.nl>



-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 852 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Error message: Invalid UTF-8 sequence (sometimes since update in last 3-4 weeks)
@ 2018-09-17 13:23 Jacqui Coosner
  2018-09-17 14:41 ` luigi scarso
  0 siblings, 1 reply; 5+ messages in thread
From: Jacqui Coosner @ 2018-09-17 13:23 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 263 bytes --]

I am beyond embarrassed. After 2 (unnecessary) re-installs, it turns out 
I had just confused 2 separate commands in my VIM editor.

Thank you for answering so quickly and not treating me like the idiot I was.

-- 
Kind regards
Jacqui Coosner
Cell: 083-252-7483


[-- Attachment #1.2: Type: text/html, Size: 586 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-09-17 14:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-17  8:50 Error message: Invalid UTF-8 sequence (sometimes since update in last 3-4 weeks) Jacqui Coosner
2018-09-17  9:27 ` Taco Hoekwater
2018-09-17  9:43 ` luigi scarso
2018-09-17 13:23 Jacqui Coosner
2018-09-17 14:41 ` luigi scarso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).