[NTG-context] enableregime in mkiv

Hans van der Meer hansm at science.uva.nl
Mon May 12 13:11:54 CEST 2008

On 12 mei 2008, at 10:16, Hans Hagen wrote:

> Taco Hoekwater wrote:
>> Hans van der Meer wrote:
>>> I am using MacOSX and up till now my files have a Western(Mac OS
>>> Roman) encoding, not UTF8. That works fime in ConTeXt-mkii by using
>>> \enableregime[mac].
>>> But in ConTeXt-mkiv through luatex I get an error despite that same
>>> \enableregime[mac]: For an accented character like é the error is "!
>>> Text line contains an invalid utf-8 sequence."
>>> How can I solve that
>>> other than changing all my files to UTF8 encoding?
>> Perhaps with a preprocessing (ctx) file that runs iconv, but luatex
>> itself wants UTF-8, full stop.
> regimes should work but maybe there is no mac regime; anyway ...  
> moving
> to utf is the best option

What is to be preferred: with or without BOM?

Hans van der Meer

More information about the ntg-context mailing list