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

When reading and writing a bib file: Keep everything #75

Closed
koppor opened this issue Dec 2, 2015 · 4 comments
Closed

When reading and writing a bib file: Keep everything #75

koppor opened this issue Dec 2, 2015 · 4 comments

Comments

@koppor
Copy link
Member

koppor commented Dec 2, 2015

Currently, JabRef keeps the entries of a file, but throws away any lines appearing inbetween. Only the encoding information is preserved.

The bibtex reader and writer should be adapted to keep that information, too. Furthermore, it should be possible to view (and edit?!) the header of a file.

Refs JabRef#123 (comment), JabRef#391 (comment), and JabRef#123

@lenhard
Copy link
Member

lenhard commented Dec 2, 2015

Currently, the encoding information is not preserved. JabRef writes the encoding information anew on every write.

@koppor
Copy link
Member Author

koppor commented Dec 2, 2015

Yes, but the encoding information is preserved. The concrete serialization of that information might change. But it does not happen that the file is said to be encoded in IBM865 and JabRef changes that information to UTF-8 without changing anything in the file?

@koppor
Copy link
Member Author

koppor commented Jun 13, 2022

In current JabRef: Everything seems to be preserved (except the encoding line, which is OK).

@ThiloteE
Copy link
Member

The encoding line got removed, right? Are you sure, it does not matter? Might be the cause for JabRef#8870

I would need to do some testing... so just mentioning this here for the record.

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

No branches or pull requests

3 participants