-
Notifications
You must be signed in to change notification settings - Fork 46
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
Encoding issue (not UTF-8) and repeated entries #67
Comments
Another encoding issue may be here: Line 107 in 0afd6f9
Shouldn't it be: parent_document <- readLines(parents_path[parents], warn = FALSE, encoding = getOption("citr.encoding")) |
#68 solves the issue of duplicated entries. It addresses one more potential issue related to encoding. And the indicated encoding issue is related to RefManageR::ReadBib("book.bib", check = FALSE, .Encoding = "UTF-8")
## [1] V. Čekanavi�ius and G. Murauskas. _Statistika ir jos taikymai I_. Vilnius:
## TEV, 2006, p. 240. ISBN: 9986-546-93-1.
## / truncated /
## [5] V. Janilionis, V. Morkevicius, and R. Rauleckas. “III dalis. StatistinÄ—s
## analizÄ—s pavyzdžių naudojant pavyzdin\ce skaitmenin\ce duomenų baz\ce
## medžiaga”. In: _StatistinÄ— kiekybinių duomenų analizÄ— su SPSS ir Stata_.
## Kaunas, 2008. Chap. 10. Daugia, p. 393. <URL:
## http://www.lidata.eu/index.php?file=files/mokymai/stat/stat.html{\&}course{\_}file=stat{\_}III{\_}10.html>.
# / truncated /
## Warning messages:
## 1: Janilionis2008-III-10: unknown macro '\c'
## 2: Janilionis2008-III-10: unknown macro '\c'
## 3: Janilionis2008-III-10: unknown macro '\c' This encoding issue is related to #53 |
Thanks for the PR, I've hardcoded the expected encoding of parent documents to |
Hi @GegznaV, has this issue been resolved (except for the upstream encoding issue)? |
It seems that only the upstream issue is left. |
Describe the bug
To Reproduce
Call
citr
RStudio add-in from the attached project: citr--UTF-8--bug.zipExpected behavior
Screenshots
Encoding is set to UTF-8 in settings:
Additional context
The text was updated successfully, but these errors were encountered: