diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2019-01-07 16:25:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-07 16:25:36 +0100 |
| commit | 14fb35fa4f6bbcefe8cd28fe5dc3dd53b59a1201 (patch) | |
| tree | abef929c45eaa0f5a4d8810d75f5326d61d992cc /src/rustllvm/RustWrapper.cpp | |
| parent | e319f12cf4bfb89b744d83c043fc0ca0dc036080 (diff) | |
| parent | 6fefcee73a5dfee20281396e0f1418ceda81776b (diff) | |
| download | rust-14fb35fa4f6bbcefe8cd28fe5dc3dd53b59a1201.tar.gz rust-14fb35fa4f6bbcefe8cd28fe5dc3dd53b59a1201.zip | |
Rollup merge of #57358 - euclio:docck-unicode, r=QuietMisdreavus
use utf-8 throughout htmldocck This commit improves compatibility with Python 3, which already uses Unicode throughout. It also fixes a subtle incompatibility stemming from the use of `entitydefs`, which contains replacement text _encoded in latin-1_ for HTML entities. When using Python 3, this would cause `0xa0` to be incorrectly added to the element tree. This meant that there was a rustdoc test that would pass under Python 2 but fail under Python 3, due to an incorrect regex match against the non-breaking space character. This commit triggers that failure in both versions, and also fixes it.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
