CoreParserFunctions::anchorencode should return a string