Skip to content
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 UTF bom parsing #9927

Merged
merged 7 commits into from
May 20, 2023
Merged

Fix UTF bom parsing #9927

merged 7 commits into from
May 20, 2023

Conversation

Siedlerchr
Copy link
Member

@Siedlerchr Siedlerchr commented May 19, 2023

line.starts with fails on utf bom chars, because the % sign is actually at position 1 and not on pos 0 in the string.
java reads the bom chars as well.

grafik

Fixes #9926

Compulsory checks

Preview Give feedback

@github-actions
Copy link
Contributor

Your code currently does not meet JabRef's code guidelines. The tool reviewdog already placed comments on GitHub to indicate the places. See the tab "Files" in you PR. Please carefully follow the setup guide for the codestyle. Afterwards, please run checkstyle locally and fix the issues.

More information on code quality in JabRef is available at https://devdocs.jabref.org/getting-into-the-code/development-strategy.html.

@Siedlerchr
Copy link
Member Author

Siedlerchr commented May 19, 2023

todo add bib with the header and the formatting also as test file

@Siedlerchr Siedlerchr requested a review from koppor May 19, 2023 22:33
Siedlerchr and others added 4 commits May 20, 2023 13:13
fix some markdown violations
…hEncoding

* upstream/main:
  Add fill in of selectedApplicationProperty when opening the editDialog of external application preference (#9921)
  Fix empty fields being added to the entry table preferences (#9916)
  checkstyle
  Update tinylog.properties
  Fixed command name
  More error handling
  Fix IOUtils usage
  Add xdg-user-dirs call to Linux.java
  Fix formatting
  Check for existance
  Incorporate user feedback
  Fix tests
  Respect OS language at NativeDesktop#getDefaultFileChooserDirectory

# Conflicts:
#	CHANGELOG.md
Copy link
Member

@koppor koppor left a comment

Choose a reason for hiding this comment

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

Good catch!

- We fixed the Save/save as file type shows BIBTEX_DB instead of "Bibtex library". [#9372](https://github.com/JabRef/jabref/issues/9372)
- We fixed the default main file directory for non-English Linux users. [#8010](https://github.com/JabRef/jabref/issues/8010)
- We fixed an issue when overwriting the owner was disabled. [#9896](https://github.com/JabRef/jabref/pull/9896)
Copy link
Member

Choose a reason for hiding this comment

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

Strange that his comes in

Copy link
Member Author

Choose a reason for hiding this comment

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

It was a merge thing. Somehow this was deleted in the main.

@calixtus
Copy link
Member

Codewise looks good. so lets merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JabRef V5.9 still corrupts my BIB file.
3 participants