[Tex/LaTex] ! Package inputenc Error: Unicode character ☯ (U+262F)

errorsinput-encodingsunicode

I encountered this error while trying to compile my thesis.
Before I did not have this error.

Any idea how I can find this Unicode character in my LaTeX document, or solve this issue?

Best Answer

to more easily find it add

\DeclareUnicodeCharacter{262F}{YIN YANG HERE!!!!!}

to your preamble, and search the output for that text. If you want it to display then find a yinyang.pdf image and do something like

\DeclareUnicodeCharacter{262F}{\includegraphics[height=1ex]{yinyang}}