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.
- Difficulty level
- Unknown (require assessment)
- Why the issue appeared?
- Will be filled on close
- Is it a breaking change?
- Unspecified (possibly destroys the router)
- Issue type
- Improvement (missing useful functionality)
|T2941 Using a non-ASCII character in the description field causes UnicodeDecodeError in configsource.py
|T3785 Add unicode support to configtree backend
Backported to equuleus branch of vyos1x-config:
Pin will be updated in docker image after other pending backports, at which point
config: T3785: drop restriction to ascii in decode (above)
will be cherry-picked to equuleus.