[Tex/LaTex] ! Package inputenc Error: Unicode char   (U+2009) (thin space)

biblatexbibliographieserrorsinput-encodings

i get an error when i try to compile my document and it drives me crazy. I have a lot of citations from a bib file, and i always get the Error listed above which (how i understand it) means i have thin spaces in my bib file, but i cant figure out where they are supposed to be and the file is too large to check every space. I already corrected any present ä, ö, ü etc., so it has to be a problem with the spaces. I copied the bib-references with a citation tool directly from the articles, maybe that's the problem? But it seems idiotic to me to write the citations myself.

Here's the Error again:
Error: ! Package inputenc Error: Unicode char   (U+2009)(inputenc) not set up for use with LaTeX.See the inputenc package documentation for explanation.Type H for immediate help…. …bliography[heading=bibempty,type=article]

I have run it many times through biber (which gives me no errors), deleted aux, bbl and bcf files, checked the bib file many times for odd spacings to figure out where those thin spaces are, but i could not find the error.

What is the best solution for this problem?

I dont know how to make a proper MWE with the huge bib file of over 1000 lines, sry. Here are the packages i use:

\documentclass[12pt,fleqn,xcolor=dvipsnames]{book}
\usepackage[top=3cm,bottom=3cm,left=3cm,right=3cm,headsep=10pt,a4paper]{geometry} % Page margins
\usepackage[table]{xcolor}
\usepackage{graphicx}
\graphicspath{{Pictures/}}
\usepackage{tikz}
\usepackage[english,german]{babel}
\usepackage{enumitem}
\usepackage{avant}
\usepackage{mathptmx}
\usepackage{microtype}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[style=numeric,citestyle=numeric,sorting=nyt,sortcites=true,autopunct=true,babel=hyphen,hyperref=true,abbreviate=false,backref=true,backend=biber]{biblatex}
\usepackage{titletoc}
\usepackage{fancyhdr} 
\usepackage{amsmath,amsfonts,amssymb,amsthm}

\begin{document}

\end{document}

I also have notations (with %) in my bib File to know which lines of the articles i cited. Could this cause the problems?
For Example:

%[ab] In patients with NYHA class II or III CHF and LVEF of 35 percent or less, amiodarone has no favorable effect on survival, whereas single-lead, shock-only ICD therapy reduces overall mortality by 23 percent.
@article{doi:10.1056/NEJMoa043399,
author = {Bardy, Gust H. and Lee, Kerry L. and Mark, Daniel B.  and Poole, Jeanne E. and Packer, Douglas L. and Boineau, Robin  and Domanski, Michael and Troutman, Charles and Anderson, Jill  and Johnson, George and McNulty, Steven E. and Clapp-Channing, Nancy and Davidson-Ray, Linda D. and Fraulo, Elizabeth S. and Fishbein, Daniel P. and Luceri, Richard M. and Ip,  John H.},
title = {Amiodarone or an Implantable Cardioverter-Defibrillator for Congestive Heart Failure},
journal = {New England Journal of Medicine},
volume = {352},
number = {3},
pages = {225-237},
year = {2005},
doi = {10.1056/NEJMoa043399},
note ={PMID: 15659722},
URL = {https://doi.org/10.1056/NEJMoa043399},
eprint = {https://doi.org/10.1056/NEJMoa043399}
}

Best Answer

Thank you for the quick answers!

I downloaded Notepad++ and tried to figure out how to find the Unicode Char, but apparently i was too unfamiliar with the program to figure it out (and maybe a bit too impatient). But thanks for the option, i might reconsider it later, when i make final improvements to my article.

At the moment i don't think i intend to change the thin space to a full space because it is only in my Bibliography (and therefore noone will care how wide the space is) and since i keep on adding Citations this might be a never ending story. I dont know how many automated Citations have such characters and i dont want to waste time correcting them for a miniscule optical improvement.

\DeclareUnicodeCharacter{2009}{\,} 

worked fine, thank you very much! My file now compiles without problemes and i wont have any further problemes.