The root cause of the error in T2941 is lack of support for unicode in the configtree backend: a direct translation of the utf-8 encoding from Python strings is overwritten by the String.escaped function in the output. The packages uucp/uutf will be investigated for support of unicode.