I'm getting errors such as this: Package inputenc Error: Unicode char \u8:ärt not set up for use w and this Package inputenc Error: Unicode char \u8:é\isdot\ifblank not set when trying to compile a bibliography in the below code. There is clearly some sort of an issue with the accented characters. Does anyone know how to resolve?

\documentclass[12pt, a4paper, oneside]{Thesis}\usepackage[]{graphicx}\usepackage[]{color}
%% maxwidth is the original width if it is less than linewidth
%% otherwise use linewidth (to make sure the graphics do not exceed the margin)
\def\maxwidth{ %

\definecolor{fgcolor}{rgb}{0.345, 0.345, 0.345}

 \def\FrameCommand##1{\hskip\@totalleftmargin \hskip-\fboxsep
     % There is no \\@totalrightmargin, so:
     \hskip-\linewidth \hskip-\@totalleftmargin \hskip\columnwidth}%
 \MakeFramed {\advance\hsize-\width
   \@totalleftmargin\z@ \linewidth\hsize

\definecolor{shadecolor}{rgb}{.97, .97, .97}
\definecolor{messagecolor}{rgb}{0, 0, 0}
\definecolor{warningcolor}{rgb}{1, 0, 1}
\definecolor{errorcolor}{rgb}{1, 0, 0}
\newenvironment{knitrout}{}{} % an empty environment to be redefined in TeX

\usepackage{alltt} % Paper size, default font size and one-sided paperR
\usepackage{alltt} % Paper size, default font size and one-sided paperR






\usepackage{placeins} % to control figure placement with \FloatBarrier

\setmainfont{Lucida Sans}

% biblatex----------------------------------------------------------------------------------------
\usepackage[style=authoryear-comp, maxcitenames=2, maxbibnames=99, uniquelist=false,firstinits=true,sorting=nyt]{biblatex}


% No dot before number of articles

% Number of articles in parentheses



  title={Gathering public information for habitat selection: prospecting birds cue on parental activity},
  author={P{\"a}rt, Tomas and Doligez, Blandine},
  journal={Proceedings of the Royal Society of London. Series B: Biological Sciences},
  publisher={The Royal Society}
  title={Experimental evidence for an ideal free distribution in a breeding population of a territorial songbird},
  author={Hach{\'e}, Samuel and Villard, Marc-Andr{\'e} and Bayne, Erin M},
  publisher={Eco Soc America}
  title={Habitat selection in birds: a review},
  author={Hild{\'e}n, O},
  journal={Ann. Zool. Fenn},





  • I don't get any errors with your sample code if I swich the document class from Thesis to article. Do the same happens to you? If so, the problem lies in Thesis.cls and we will need to see the file to detect the problem. Jun 21, 2015 at 17:12
  • You could have at least tried to make that more minimal.
    – Johannes_B
    Jun 21, 2015 at 17:12
  • The example requires XeLaTeX or LuaLaTeX as package fontspec is loaded. inputenc shouldn't even be loaded. Does that happen in the class file?
    – Johannes_B
    Jun 21, 2015 at 17:16
  • 4
    I guess this is a template from a well known template site. 14 of the various Thesis.cls on my HDD (that's how much trouble arises from templates) include inputenc. Since you are required to change the cls either way, simply delete that line from the file. And please please please report that issue to the guy/site you obtained Thesis.cls from.
    – Johannes_B
    Jun 21, 2015 at 17:19

1 Answer 1


I have no problem compiling, if I declare Lucida Sans Unicode as main font. I suspect Lucida Sans is a type 1 font, requiring font encoding declaration, &c., which might be the source of the problem.

Incidentally, to have nice quotes in your bibliography, load csquotes. Without it, I had hideous fake opening quotes. Also, you may type accented letters in the .bib file: biber understands UTF8.

enter image description here

  • A combination of deleting the line containing inputenc and adding \usepackage{csquotes} has apparently solved problems
    – luciano
    Jun 23, 2015 at 14:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .