-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Cite
to honor GAPInfo.TermEncoding
for its printing; let BibEntry
always use encoding "UTF-8"
#4146
Fix Cite
to honor GAPInfo.TermEncoding
for its printing; let BibEntry
always use encoding "UTF-8"
#4146
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good.
(I have inserted one comment concerning an old typo which could be fixed now.)
`BibEntry` produces a snippet of XML without processing instruction about 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 for its printing. This commit also improves some details in the code of `Cite`: - indentation of code - normalized spelling of package names - fix of typo
8c2e2fe
to
eeac3b4
Compare
I have added a comment, fixed the typo as suggested, and added a remark to the commit message. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Cite
w.r.t. the encoding used; let BibEntry
always use encoding "UTF-8".
Cite
w.r.t. the encoding used; let BibEntry
always use encoding "UTF-8".Cite
to honor GAPInfo.TermEncoding
for its prining; let BibEntry
always use encoding "UTF-8"
Cite
to honor GAPInfo.TermEncoding
for its prining; let BibEntry
always use encoding "UTF-8"Cite
to honor GAPInfo.TermEncoding
for its printing; let BibEntry
always use encoding "UTF-8"
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