summaryrefslogtreecommitdiff
path: root/sphinx/directives/code.py
diff options
context:
space:
mode:
authorAlexandre René <alex.c.rene@gmail.com>2022-07-17 20:49:07 +0200
committerAlexandre René <alex.c.rene@gmail.com>2022-07-17 20:49:07 +0200
commit184c00e38cb65a604a104c12986d731ea5ee8487 (patch)
tree29b4f1593fe327a3229083be7c46044ad692cafe /sphinx/directives/code.py
parent3db1844d9a62b25099b26bbd14f2d7738a71300c (diff)
downloadsphinx-git-184c00e38cb65a604a104c12986d731ea5ee8487.tar.gz
Explain non-standard encoding in LatinRules.xdy
In order to fulfill its function, LatinRules.xdy must use single, non-standard byte characters (neither ASCII, nor multi-byte UTF-8). To someone encountering the file without knowing its purpose (e.g. due a post-processing raising a warning for the unrecognized encoding) this is likely surprising, and may seem like a holdover from a time where Unicode wasn't as universally supported. The added comment should make clear that the file must stay as it is, and in particular that it must not be "standardized" to UTF-8.
Diffstat (limited to 'sphinx/directives/code.py')
0 files changed, 0 insertions, 0 deletions