Skip to content

Fix wrong conversion of unicode chars#7419

Merged
Siedlerchr merged 5 commits into
JabRef:masterfrom
tmrd993:fix-wrong-conversion-of-unicode-chars
Feb 3, 2021
Merged

Fix wrong conversion of unicode chars#7419
Siedlerchr merged 5 commits into
JabRef:masterfrom
tmrd993:fix-wrong-conversion-of-unicode-chars

Conversation

@tmrd993

@tmrd993 tmrd993 commented Feb 3, 2021

Copy link
Copy Markdown
Contributor

Fixes #7387
Fixed the wrong conversion of unicode characters with a codepoint higher than the max value of the primitive type char in the unicode to latex formatter.

  • Change in CHANGELOG.md described (if applicable)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (for UI changes)
  • Checked documentation: Is the information available and up to date? If not created an issue at https://github.com/JabRef/user-documentation/issues or, even better, submitted a pull request to the documentation repository.

@tobiasdiez tobiasdiez left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! Can you please also add a test that verifies that everything is working now.

{"119978", "Oscr", "$\\mathcal{O}$"}, // script capital O -- possibly use \mathscr
{"119984", "Uscr", "$\\mathcal{U}$"} // script capital U -- possibly use \mathscr
{"119984", "Uscr", "$\\mathcal{U}$"}, // script capital U -- possibly use \mathscr
{"120598", "", "$\\epsilon}$"} // mathematical italic epsilon U+1D716 -- requires amsmath

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the closing } is too much here.

@tobiasdiez tobiasdiez added the status: changes-required Pull requests that are not yet complete label Feb 3, 2021
@Siedlerchr

Copy link
Copy Markdown
Member

Thanks for analyzing the issue and your fix! LGTM!

@Siedlerchr Siedlerchr merged commit 242a494 into JabRef:master Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: changes-required Pull requests that are not yet complete

Projects

None yet

Development

Successfully merging this pull request may close these issues.

epsilon symbol in unicode-to-latex not supported

3 participants