Fix Cite
to honor GAPInfo.TermEncoding
for its printing; let BibEntry
always use encoding "UTF-8"
#4146
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
BibEntry
produces a snippet of XML without processing instructionabout its encoding. Therefore the result should be in the default
encoding "UTF-8" for our XML parser.
Instead
Cite
should use the setting in GAPInfo.TermEncoding forits printing.
Before this fix
Cite
ran into an error in a terminal with, say, latin1 encoding.The fix was tested in terminals with utf8 and with latin1 encoding. I don't see how to add a test for this in the
tst
directory.Description
see above
Text for release notes
not needed