I use UTF-8 characters in a bibliography, which bib2df doesn't seem to import properly. A way to fix this issue is to add an additional argument to the bib2df function that allows users to specify the encoding of the .bib file (default: encoding = "unknown"), and to feed that argument to the readLines call inside the bib2df_read function. This way I could import the bibliography with bib2df("references.bib", encoding = "UTF-8").
I'd be happy to make a pull request. Thanks for this useful package!
I use UTF-8 characters in a bibliography, which
bib2df
doesn't seem to import properly. A way to fix this issue is to add an additional argument to thebib2df
function that allows users to specify the encoding of the .bib file (default:encoding = "unknown"
), and to feed that argument to thereadLines
call inside thebib2df_read
function. This way I could import the bibliography withbib2df("references.bib", encoding = "UTF-8")
.I'd be happy to make a pull request. Thanks for this useful package!