>>>> I need to write ''''' in a text. However,
>>>> (...) I really need it to be 5 times U0027,
>>>> not ””’ (U201C and U2018). (...)
> \starttext
> \dorecurse5'{}
> % or \dorecurse{5}{'{}}
> \stoptext
> Even better:
>
> \starttext
> \defineactivecharacter ' {\otfchar{quoteright}}
>
> '''''
> \stoptext
>
Both also didn't work. Are you using Mark IV? I'm
using regular Context (the one that comes with
Ubuntu), maybe that's the difference.
Maurício