Note: I found the answer here: https://stackoverflow.com/questions/13596531/how-to-search-for-non-ascii-characters-with-bash-tools
If you find the following error message in your editor it is very likely that you have this problem:
Undefined control sequence. \printbibliography[notkeyword=myPaper, title={References}, heading=bibintoc, resetnumbers=true]
I am using biber and if LaTeX complains that it does not know the command \printbibliography
there is something wrong with the *.bib
file.
nonascii() { LANG=C grep --color=always '[^ -~]\+'; }
Type this into your terminal and then test it like so:
printf 'ŨTF8\n' | nonascii
Now the first U
-like character should appear in red.
Not all fields in the bibtex
entries are also shown in the final bibliography.
The title
and author
fields are good places to start.
cat references.bib | nonascii | grep "title ="
Or use a text editor and search with
CTRL+F
, activate also the RegEx Button (which has to be available for this to work) and search for[^\x00-\x7F]
.