Hello, I have problem using CP 1250 and component/environment. Suppose having a simple example: ---- t-M.mkiv - File of macro definitions %\enableregime[cp1250] \def\ccc{č} % A Czech letter with diacritics ---- ---- t-Env.mkiv - Environment file - just load macros %\enableregime[cp1250] \input t-M.mkiv \startenvironment * \stopenvironment ---- ---- t-Comp.mkiv - Component - this file is to be compiled %\enableregime[cp1250] \environment t-Env.mkiv \startcomponent * Comp \stopcomponent ---- I tried to place "\enableregime[cp1250]" statement to all places where it is marked as comment now, but no position was accepted by ConTeXt - I was always getting: " ConTeXt ver: 2012.08.02 10:55 MKIV fmt: 2012.8.3 int: english/english ... regimes > loading > vector 'cp1250' is loaded (t-Env.mkiv (t-M.mkiv ! String contains an invalid utf-8 sequence. system > tex > error on line 3 in file t-M.mkiv: String contains an invalid utf-8 sequence ... 1 %\enableregime[cp1250] 2 3 >> \def\ccc{Ŕ} 4 l.3 \def\ccc{ Ŕ} ) Runaway definition? ->´┐Ż" ... " Note that the following code works OK: ---- t-Comp(alt).mkiv - Component with successful compilation \enableregime[cp1250] \input t-M.mkiv % The "problematic" file is loaded here \startcomponent * Comp \stopcomponent ---- So is there a way how to involve the macro file "t-M.mkiv" (CP 1250, Czech) into the environment file "t-Env.mkiv"? TIA. Best regards, Lukas -- Ing. Lukáš Procházka [mailto:LPr@pontex.cz] Pontex s. r. o. [mailto:pontex@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038