RefManageR icon indicating copy to clipboard operation
RefManageR copied to clipboard

toBiblatex utf8 problems

Open cdriveraus opened this issue 2 years ago • 1 comments

the toBiblatex function uses the tools::encoded_text_to_latex function, which as far as I can see makes unnecessary changes to certain letters, but I don't fully understand encoding issues by any means! In the original bib file 'é' is simply stored as 'é', while after importing and exporting with RefManageR it looks like "{\\a'e}". Is there any way to avoid this behaviour?

> tools::encoded_text_to_latex('é',encoding = 'utf8')
[1] "{\\a'e}"

cdriveraus avatar Feb 08 '24 08:02 cdriveraus

@cdriveraus @kbvernon I added a logical argument encoded.names.to.latex to turn off this behaviour in #108. Would be grateful if you could test and or review the PR 🙏

mwmclean avatar Sep 23 '24 07:09 mwmclean