With html5 as primary $wgFragmentMode, after editing a section with non-Latin characters in its name, users get redirected to percent-encoded fragments.
- percent-encoded %D0 when old section is dot-encoded .D0.
- Expected: same encoding as TOC (HTML5 section ids).