-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fix UTF bom parsing #9927
Conversation
Fixes #9926
src/main/java/org/jabref/logic/importer/fileformat/BibtexImporter.java
Outdated
Show resolved
Hide resolved
src/main/java/org/jabref/logic/importer/fileformat/BibtexImporter.java
Outdated
Show resolved
Hide resolved
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. |
todo add bib with the header and the formatting also as test file |
split up in two methods
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
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.
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) |
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.
Strange that his comes in
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.
It was a merge thing. Somehow this was deleted in the main.
Codewise looks good. so lets merge it. |
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.
Fixes #9926
Compulsory checks