I am starting to use biber with biblatex for my bibliography. I cite books in French and Spanish therefore several books and articles have accented letters in titles or author's names. I hadn't had any problem compiling my .bib file, which I have been using for two now, with bibtex. But now with biber there seems to be problems with some of my entries, not all though.
I am using TexShop and compile with Latex.
Here you'll find some lines from my preamble that might be relevant:
\usepackage[british]{babel}
\usepackage{csquotes}
\usepackage[backend=biber,style=authoryear]{biblatex}
\addbibresource{MyBib.bib}
\usepackage[colorlinks, allcolors=blue, breaklinks]{hyperref}
\begin{document}
\autocite{key}
\end{document}
When I run the bibtex (the graphic option is called bibtex buy I am using biber as backend) I get the following message at the very beginning:
"\x{fffd}" does not map to ascii at /var/folders/1t/gfg6lx791ds0hfh1hxskk8y40000gp/T/par-696675636873/cache-955b5cd96386991ca6623279060097e4c757d28e/inc/lib/Biber/Utils.pm line 932.
Trying to compile with Latex again I get the message:
Undefined control sequence. St\x{fffd}phanie
This argument corresponds to the author name in one of my entries. I modified the entry as shown below:
St{\'e}phanie
in my .bib (JabRef), but this does not solve the issue.
What can I do? And is there a way of finding a solution that does not involve going through my entire bibliography database changing characters one by one?
\nocite{*}
s all the entries; runlatex
on it so a.bcf
is created; thenbiber -output_encoding=UTF-8 --output_format=bibtex <yourfile>.bcf
should output a file called<yourfile>_biber.bib
.fontenc
,inputenc
(I recommend[T1]{fontenc} and
[utf8]{inputenc}` unless you need something particular), and then loading the appropriate options forbiblatex
; the latter means you are usingfontspec
.\nocite{*}
command does nocite all your.bib
entries: the * is like a wildcard. So you don't need to enter each key manually..bib
. My advice would be to use a UTF8.bib
file if you can use Biber most of the time, and then use biber to convert to an ASCII version (with {\'a}cc{`e}nts, etc.) when BibTeX is required. That way you only need to maintain one.bib
file.