# Package biblatex Warning: Data encoding is 'utf8'. Use backend=biber

After a few days break I went back to working on a report. When I tried to compile I got the following warning:

``````Package biblatex Warning: Data encoding is 'utf8'.
(biblatex)                Use backend=biber.
``````

I haven't changed a thing since last week, when it worked. I did open the file on someone else's laptop, but didn't touch the code. I am using ShareLaTeX. The relevant code is (I think):

``````\documentclass[11pt]{report}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\graphicspath{ {images/} }

\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm]{geometry}
\usepackage{float}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[backend=bibtex,style=authoryear,sorting=none]{biblatex}

\printbibliography
``````

References are in the form of:

``````@book{griffiths,
author        = {D.J. Griffiths},
title         = {Introduction to Quantum Mechanics},
year          = {2005},
publisher     = {Pearson Education Inc.},
location      = {USA, New Jersey, Upper Saddle River}
}
``````

EDIT: When I change the backend to biber, the file doesn't recognise any references, and the log says:

``````Package biblatex Warning: Please (re)run Biber on the file:
(biblatex)                output
(biblatex)                and rerun LaTeX afterwards.
``````

I'm unsure how to do this in ShareLaTeX. Consider me a simple mortal, who is not knowledgeable about much outside of basic report writing.

• Just change `backend=bibtex` to `backend=biber`. `bibtex` can only handle files in ascii encoding. – Guido Jun 9 '14 at 15:20
• Did you rerun biber and latex, as said in the .log? – Bernard Jun 9 '14 at 15:45
• As far as I know, ShareLaTeX does not support Biber, so you are stuck with BibTeX. The original warning (it is not an error) suggests that your document (I suppose the `.bib` file) was recognised as being UTF8 encoded (probably due to an UTF8 character), `biblatex` suggests you use Biber as this back-end is able to deal with UTF8 while BibTeX is not. So you can either ignore the warning (but keep an eye open for mangled characters and other encoding issues) or make sure your `.bib` file at least is 100% ASCII (I'm not sure whether UTF8 in the `.tex` file also triggers the warning). – moewe Jun 9 '14 at 16:02
• If you choose to make your `.bib` file `ascii`-encoded (or similar), but want your document to remain in `utf8`, you might have to use the `bibencoding` option, please refer to §2.4.3.4 Specifying Encodings, pp. 41-43 of the `biblatex` documentation. Also make sure you properly escape non `ascii`-chars (see How to write “ä” and other umlauts ... or refer to `biblatex-examples.bib`). – moewe Jun 9 '14 at 16:11
• The warning is not related to the bib file or bibltex "knowing" something about the content of the bib file. It is triggered by the inputenc option. biblatex guesses that if your document uses utf8 then perhaps the bib-file and perhaps there are non-ascii chars and perhaps something could go wrong. If your bib-file has only english entries I wouldn't worry. And if you have non-ascii chars: Check their output. – Ulrike Fischer Jun 9 '14 at 17:16

``````\usepackage[backend=bibtex,bibencoding=ascii,style=authoryear,sorting=none]{biblatex}