BibTeX, biblatex and biberInvalid character ^^@ in citation compiling?

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
huktonfonxwrx4mi
Posts: 1
Joined: Sat Jul 20, 2013 7:19 pm

Invalid character ^^@ in citation compiling?

Post by huktonfonxwrx4mi »

Just switched from Mendeley to JabRef to manage my .bib file, and I'm getting a compilation error for my citations. When I compile a file, a get a list of errors that each say Text line contains an invalid character... and then a successive list of the characters plus ^^@. Here's what it looks like...

If the reference is \cite{Adams2013}, I get this out:

Code: Select all

Text line contains an invalid character \cite{^^@
Text line contains an invalid character \cite{^^@A^^@
Text line contains an invalid character \cite{^^@A^^@d^^@
Text line contains an invalid character \cite{^^@A^^@d^^@a^^@
Text line contains an invalid character \cite{^^@A^^@d^^@a^^@m^^@
and so on...

Has anyone ever seen this? A Google search of ^^@ returned no results, which makes me nervous... :?
Last edited by cgnieder on Sat Jul 20, 2013 10:36 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Invalid character ^^@ in citation compiling?

Post by cgnieder »

Hi and welcome to the LaTeX community!

This appears to be an encoding issue. Maybe your TeX file has a wrong declaration for the input encoding (cf. the inputenc package). Does your bib file has the same encoding as your main file?

Regards
site moderator & package author
Post Reply