Hello,
this example stopped working. I don't know exactly when, maybe with the newest Ctx beta. Let's have two sources:
--- t.mkiv
\mainlanguage[cz]
\enableregime[cp1250]
\starttext
\input t2.mkiv
AáSš
\stoptext
---
And:
--- t2.mkiv
AáSš
---
The t2.mkiv is included by the main file t.mkiv.
The strange thing is that chars with diacritics being used in the included file are successfully processed, whilst those in the main file are not.
Here's the process log:
---
MTXrun | run 1: luatex --fmt="c:/ConTeXt/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc7e3383ec8c3a00c/formats/cont-en" --lua="c:/ConTeXt/tex/texmf-cache/luatex-cache/context/f53042fa2e1c106bc7e3383ec8c3a00c/formats/cont-en.lui" --backend=pdf "C:/Lukas/Jobs/Holesov.PDPS/SO_201/Texts/T/t.mkiv"This is LuaTeX, Version beta-0.64.0-2010111223 (rev 3956)
\write18 enabled.
(C:/Lukas/Jobs/Holesov.PDPS/SO_201/Texts/T/t.mkiv
ConTeXt ver: 2010.11.27 14:27 MKIV fmt: 2010.11.29 int: english/english
system : cont-new loaded
(c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(c:/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv))
system : cont-fil.mkiv loaded
(c:/ConTeXt/tex/texmf-context/tex/context/base/cont-fil.mkiv
loading : ConTeXt File Synonyms
)
system : cont-sys.rme loaded
(c:/ConTeXt/tex/texmf-context/tex/context/user/cont-sys.rme (c:/ConTeXt/tex/texmf-context/tex/context/base/type-def.mkiv) (c:/ConTeXt/tex/texmf-context/tex/context/base/type-lua.mkiv) (c:/ConTeXt/tex/texmf-context/tex/context/base/type-siz.mkiv) (c:/ConTeXt/tex/texmf-context/tex/context/base/type-otf.mkiv))
system : cont-err loaded
(c:/ConTeXt/tex/texmf-context/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
)
system : t.top loaded
(t.top
){c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}{c:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{c:/ConTeXt/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
bodyfont : 12pt rm is loaded
fonts : preloading latin modern fonts (first stage)
language : language en is active
publications : loading formatting style from bxml-apa
(c:/ConTeXt/tex/texmf-context/tex/context/base/bxml-apa.mkiv)
systems : begin file C:/Lukas/Jobs/Holesov.PDPS/SO_201/Texts/T/t.mkiv at line 4
(t2.mkiv)
! String contains an invalid utf-8 sequence.
l.7 A
ßSÜ
backends > using xmp file 'c:/ConTeXt/tex/texmf-context/tex/context/base/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
systems : end file C:/Lukas/Jobs/Holesov.PDPS/SO_201/Texts/T/t.mkiv at line 8
)