Apostrophes and dashes turning into odd characters in references
Some apostrophes and dashes are turning into odd characters (â, uppercase A with accent and an uppercase S with tail) in my references. Mostly the dash problem is in the page numbers, but can also happen in titles; the apostrophe problem happens in titles.
I'm using standalone with TexStudio. I tried as messing suggests here https://forums.zotero.org/discussion/4331/bibtex-importexport-problems/ to modify the Bibtex.js so it reads ""\u2013":"-", // EN DASH" etc. but that didn't fix it.
I can manually retype the character in Zotero and reexport and that solves it. The apostrophe is more vertical after this there is no change to the dash I can see. I also noticed that these corrupted dash references only result from the folder icon importation. (If I have a list of results from Google Scholar click on the folder icon in the address bar and then check boxes for individual articles, as opposed to clicking on a result and hitting the paper icon which imports the only reference.) The apostrophes are corrupt either way. This is true independent of browser (Firefox or Chrome). The adds-on is up to date in for both browsers.
Are there any suggestions as to how to correct these references (other than manually editing) or prevent the corruption in future references?
Thanks,
Dustin
I'm using standalone with TexStudio. I tried as messing suggests here https://forums.zotero.org/discussion/4331/bibtex-importexport-problems/ to modify the Bibtex.js so it reads ""\u2013":"-", // EN DASH" etc. but that didn't fix it.
I can manually retype the character in Zotero and reexport and that solves it. The apostrophe is more vertical after this there is no change to the dash I can see. I also noticed that these corrupted dash references only result from the folder icon importation. (If I have a list of results from Google Scholar click on the folder icon in the address bar and then check boxes for individual articles, as opposed to clicking on a result and hitting the paper icon which imports the only reference.) The apostrophes are corrupt either way. This is true independent of browser (Firefox or Chrome). The adds-on is up to date in for both browsers.
Are there any suggestions as to how to correct these references (other than manually editing) or prevent the corruption in future references?
Thanks,
Dustin
https://gist.github.com/anonymous/6bdc2aeb49f19b8bc612
Thanks for the help.
One more question. for the "39–58" entry, what is listed in the Library Catalog field. That's using an em-dash to separate pages in a page range, which is quite unusual for a range, so we may also want to fix this on import.
I have been manually doing search-and-replace for dashes and apostrophes in automatically picked up references.
Would appreciate any suggestions ...
% !TEX TS-program = lualatex
% !TEX encoding = UTF-8 Unicode
% !TEX spellcheck = de_DE
after you begin document may resolve much of it.
Regarding dashes in page ranges, we were not properly converting various dashes (hyphens, en-dashes, em-dashes, etc.) to the "--" in BibTeX. We'll fix that in a bit.