example:

\enableregime    [utf-8]
\mainlanguage    [de]

\starttext

\subject{Works}

1
\margintext{a}

\subject{Doesn’t work}

\margintext{b}

\stoptext