I use a Tufte-book documentclass and BiblateX. This is an example of my sample-handout.bib file :
@BOOK{Buchet,
author = {Buchet, Edmond},
title = {Jean-S\'{e}bastien Bach. L'\oe uvre et la vie. Deux si\`{e}cles d'\'{e}tudes et de t\'{e}moignages},
year = {1963},
publisher = {\'{E}ditions Les Libraires Associ\'{e}s},
place = {Saverne},
pagetotal = {267}
}
When I compile my document with XeLateX (with ifetex.sty in my folder), special character \oe is not recognize and the word "oeuvre" is replaced by "uvre" (the special character is missing) in the footnote reference. This is my code (a large part concerns the creation of referencing in sidenote via BiblateX, sorry...):
\RequirePackage{luatex85}
\documentclass[nobib,symmetric,justified,marginals=raggedouter]{tufte-book}
\usepackage{fontspec}
%\setmainfont{fbb}
\ifx\ifxetex\ifluatex\else
%\ifxetex
\newcommand{\textls}[2][5]{%
\begingroup\addfontfeatures{LetterSpace=#1}#2\endgroup
}
\renewcommand{\allcapsspacing}[1]{\textls[15]{#1}}
\renewcommand{\smallcapsspacing}[1]{\textls[10]{#1}}
\renewcommand{\allcaps}[1]{\textls[15]{\MakeTextUppercase{#1}}}
\renewcommand{\smallcaps}[1]
{\smallcapsspacing{\scshape\MakeTextLowercase{#1}}}
\renewcommand{\textsc}[1]{\smallcapsspacing{\textsmallcaps{#1}}}
\usepackage{fontspec}
\setmainfont{TeX Gyre Pagella}
\setsansfont{TeX Gyre Heros}[Scale=MatchUppercase]
\fi
\usepackage{microtype}
\usepackage{fancyvrb}
\usepackage{csquotes}
\usepackage[backend=biber, style=authoryear-icomp]{biblatex}
\makeatletter
\newbibmacro{adtcite}{%
\iffieldundef{shorthand}
{\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}
{\usebibmacro{cite:ibid}}
{\iffieldequals{namehash}{\cbx@lasthash}
{\setunit{\compcitedelim}}
{\printnames{labelname}%
\setunit{\printdelim{nameyeardelim}}%
\printlabeldateextra
\setunit{\printdelim{nametitledelim}}%
\savefield{namehash}{\cbx@lasthash}}%
\usebibmacro{cite:title}}}%
{\usebibmacro{cite:shorthand}%
\usebibmacro{cite:reinit}}%
\setunit{\multicitedelim}}
\makeatother
\newbibmacro{cite:title}{%
\printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}}
\DeclareCiteCommand{\fadtcite}[\mkbibfootnote]
{\usebibmacro{cite:init}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{adtcite}}
{}
{\usebibmacro{cite:postnote}}
\DeclareMultiCiteCommand{\fadtcites}[\mkbibfootnote]{\fadtcite}{\setunit{\multicitedelim}}
\DeclareAutoCiteCommand{fadt}{\fadtcite}{\fadtcites}
\ExecuteBibliographyOptions{autocite=fadt}
\usepackage{mdframed}
\newmdenv[skipabove=3.5ex plus 1ex minus .2ex,% Equal to section title spacing
innerleftmargin=0pt,innerrightmargin=0pt,%
innerbottommargin=0pt,innertopmargin=0pt,linewidth=0pt,innermargin=0pt,%
outermargin=\dimexpr-\marginparwidth-\marginparsep\relax]{mdfullwidth}
\defbibenvironment{bibliography}
{\list{}{\parsep\bibparsep}}
{\endlist}
{\item}
\AtEveryBibitem{\hskip-\bibhang}
\addbibresource{sample-handout.bib}
\begin{document}
How to fix the problem with "\oe uvre"\autocite[p.~42]{Buchet}?
\begin{fullwidth}
\bibhang=0pt
\printbibliography
\end{fullwidth}
\end{document}
I think the problem is with fontspec or inputec, but I don't know where. How can I fix the problem?

\usepackage{fbb}, remove it: you don't get the requested font, otherwise; on the other hand “L’œuvre” appears (in Latin Modern). After the removal I get “L’œuvre” in thefbbfont. Remove alsoinputenc(although it does nothing at all). – egreg Jun 10 '20 at 09:40\usepackage{fbb}changes the formatting of the start of my chapters, so I don't want to delete it. – Phil8544 Jun 10 '20 at 10:04\usepackage{fbb}and xelatex/lualatex, all the document is typeset with Latin Modern. The package *must not* be used with those engines. But of course you need\setmainfont{fbb}, if you want that font. – egreg Jun 10 '20 at 10:07\newthought{text}I placed at the beggining of my chapters doesn't work. – Phil8544 Jun 10 '20 at 10:11\usepackage{fbb}, but with\setmainfont{fbb}. I added\chapter{Test}and a\newthoughtcommand. The “œ” character appears in the side note, as you can see. – egreg Jun 10 '20 at 10:18