-
-
Notifications
You must be signed in to change notification settings - Fork 275
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
Angle brackets importing incorrectly from UTF-8 .bib file when BBT is enabled #2814
Comments
I'm afraid the stock bibtex importer has it wrong. Try compiling this:
|
If you want italicized text, latex offers |
Ah, OK. In this case, I'm importing references from Web of Science that came with the Looks like I can just pre-process the |
It can be a pretty good data exchange format, it's just that so many institutions put out crap software to put out stuff that vaguely resembles bibtex 😉 |
Debug log ID
Y9WEUTMI-refs-euc/6.7.165-6
What happened?
When BBT is enabled, importing from a UTF-8 encoded
.bib
file results in left and right angle brackets<
(U+003C) and>
(U+003E) turning into ¡ (U+00A1) and ¿ (U+00BF) characters. If I import from the same file with BBT disabled, the brackets import correctly.As far as I can tell, the problem seems to be limited to
<
and>
. I don't have a lot of other "special" characters in the references I am importing, but I added some accented characters and curly quotes to my test file, and they were unharmed by importing with BBT enabled.Here's the test file that I used to import the reference selected in the debug log:
(I had to change the file extension to
.txt
for GitHub to accept it, but made no other edits).import_encoding_test.txt
Thanks for all the hard work you put into developing Better BibTeX (one of my most relied-upon plugins!), and apologies in advance if this turns out to be some mistake on my part that I've overlooked 😅.
The text was updated successfully, but these errors were encountered: