How to fix Package inputenc Error: “Unicode char u8:� not set up for use with LaTeX.”?












6















I get following error when running pdflatex in TeXstudio: "Package inputenc Error: Unicode char u8:� not set up for use with LaTeX. end" on the last line of my document:



printbibliography
end{document} <- error comes here









share|improve this question























  • Welcome to TeX.SX! Please provide a compilable code of your document. It should be as short as possible while showing your error. If the error is part of the bib, we need to see the culprit entries as well. Like this, we would be guessing around.

    – LaRiFaRi
    Feb 25 '15 at 10:43











  • You probably have a spurious U+FFFD character somewhere.

    – egreg
    Feb 25 '15 at 10:43
















6















I get following error when running pdflatex in TeXstudio: "Package inputenc Error: Unicode char u8:� not set up for use with LaTeX. end" on the last line of my document:



printbibliography
end{document} <- error comes here









share|improve this question























  • Welcome to TeX.SX! Please provide a compilable code of your document. It should be as short as possible while showing your error. If the error is part of the bib, we need to see the culprit entries as well. Like this, we would be guessing around.

    – LaRiFaRi
    Feb 25 '15 at 10:43











  • You probably have a spurious U+FFFD character somewhere.

    – egreg
    Feb 25 '15 at 10:43














6












6








6


3






I get following error when running pdflatex in TeXstudio: "Package inputenc Error: Unicode char u8:� not set up for use with LaTeX. end" on the last line of my document:



printbibliography
end{document} <- error comes here









share|improve this question














I get following error when running pdflatex in TeXstudio: "Package inputenc Error: Unicode char u8:� not set up for use with LaTeX. end" on the last line of my document:



printbibliography
end{document} <- error comes here






input-encodings






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 25 '15 at 10:38









HemaolleHemaolle

241127




241127













  • Welcome to TeX.SX! Please provide a compilable code of your document. It should be as short as possible while showing your error. If the error is part of the bib, we need to see the culprit entries as well. Like this, we would be guessing around.

    – LaRiFaRi
    Feb 25 '15 at 10:43











  • You probably have a spurious U+FFFD character somewhere.

    – egreg
    Feb 25 '15 at 10:43



















  • Welcome to TeX.SX! Please provide a compilable code of your document. It should be as short as possible while showing your error. If the error is part of the bib, we need to see the culprit entries as well. Like this, we would be guessing around.

    – LaRiFaRi
    Feb 25 '15 at 10:43











  • You probably have a spurious U+FFFD character somewhere.

    – egreg
    Feb 25 '15 at 10:43

















Welcome to TeX.SX! Please provide a compilable code of your document. It should be as short as possible while showing your error. If the error is part of the bib, we need to see the culprit entries as well. Like this, we would be guessing around.

– LaRiFaRi
Feb 25 '15 at 10:43





Welcome to TeX.SX! Please provide a compilable code of your document. It should be as short as possible while showing your error. If the error is part of the bib, we need to see the culprit entries as well. Like this, we would be guessing around.

– LaRiFaRi
Feb 25 '15 at 10:43













You probably have a spurious U+FFFD character somewhere.

– egreg
Feb 25 '15 at 10:43





You probably have a spurious U+FFFD character somewhere.

– egreg
Feb 25 '15 at 10:43










3 Answers
3






active

oldest

votes


















11














I managed to fix this on my own.



The problem was that my .tex file used utf-8 encoding, but my .bib file used ANSI-encoding. The error presented itself, when I added a bibliography entry which contained an apostrophe. To fix this I converted the .bib file to utf-8 encoding with Notepad++ and removed the files produced by pdflatex (aux, .bbl, .bcf etc.) and then ran pdflatex again.






share|improve this answer
























  • yes it is the solution worked for me.

    – tod
    Nov 8 '15 at 13:51











  • this might be helpful to some people coming here, not sure which bib entry is the problem.

    – LondonRob
    Feb 2 '18 at 17:57



















0














A similar issue, regarding incompatible (spurious) character encoding, can be found with more details in "inputenc Error: Unicode char u8” error while trying to write a degree symbol (invisible character)".






share|improve this answer

































    0














    just gind abnormal characters in your bibliography, remove them.. delete aux, .bbl, .bcf etc. file rerun it.. it will start working.. this worked for me





    share








    New contributor




    rajagopalan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.




















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "85"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f230062%2fhow-to-fix-package-inputenc-error-unicode-char-u8%25c3%25af-%25c2%25bd-not-set-up-for-use-with%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      11














      I managed to fix this on my own.



      The problem was that my .tex file used utf-8 encoding, but my .bib file used ANSI-encoding. The error presented itself, when I added a bibliography entry which contained an apostrophe. To fix this I converted the .bib file to utf-8 encoding with Notepad++ and removed the files produced by pdflatex (aux, .bbl, .bcf etc.) and then ran pdflatex again.






      share|improve this answer
























      • yes it is the solution worked for me.

        – tod
        Nov 8 '15 at 13:51











      • this might be helpful to some people coming here, not sure which bib entry is the problem.

        – LondonRob
        Feb 2 '18 at 17:57
















      11














      I managed to fix this on my own.



      The problem was that my .tex file used utf-8 encoding, but my .bib file used ANSI-encoding. The error presented itself, when I added a bibliography entry which contained an apostrophe. To fix this I converted the .bib file to utf-8 encoding with Notepad++ and removed the files produced by pdflatex (aux, .bbl, .bcf etc.) and then ran pdflatex again.






      share|improve this answer
























      • yes it is the solution worked for me.

        – tod
        Nov 8 '15 at 13:51











      • this might be helpful to some people coming here, not sure which bib entry is the problem.

        – LondonRob
        Feb 2 '18 at 17:57














      11












      11








      11







      I managed to fix this on my own.



      The problem was that my .tex file used utf-8 encoding, but my .bib file used ANSI-encoding. The error presented itself, when I added a bibliography entry which contained an apostrophe. To fix this I converted the .bib file to utf-8 encoding with Notepad++ and removed the files produced by pdflatex (aux, .bbl, .bcf etc.) and then ran pdflatex again.






      share|improve this answer













      I managed to fix this on my own.



      The problem was that my .tex file used utf-8 encoding, but my .bib file used ANSI-encoding. The error presented itself, when I added a bibliography entry which contained an apostrophe. To fix this I converted the .bib file to utf-8 encoding with Notepad++ and removed the files produced by pdflatex (aux, .bbl, .bcf etc.) and then ran pdflatex again.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Feb 25 '15 at 10:43









      HemaolleHemaolle

      241127




      241127













      • yes it is the solution worked for me.

        – tod
        Nov 8 '15 at 13:51











      • this might be helpful to some people coming here, not sure which bib entry is the problem.

        – LondonRob
        Feb 2 '18 at 17:57



















      • yes it is the solution worked for me.

        – tod
        Nov 8 '15 at 13:51











      • this might be helpful to some people coming here, not sure which bib entry is the problem.

        – LondonRob
        Feb 2 '18 at 17:57

















      yes it is the solution worked for me.

      – tod
      Nov 8 '15 at 13:51





      yes it is the solution worked for me.

      – tod
      Nov 8 '15 at 13:51













      this might be helpful to some people coming here, not sure which bib entry is the problem.

      – LondonRob
      Feb 2 '18 at 17:57





      this might be helpful to some people coming here, not sure which bib entry is the problem.

      – LondonRob
      Feb 2 '18 at 17:57











      0














      A similar issue, regarding incompatible (spurious) character encoding, can be found with more details in "inputenc Error: Unicode char u8” error while trying to write a degree symbol (invisible character)".






      share|improve this answer






























        0














        A similar issue, regarding incompatible (spurious) character encoding, can be found with more details in "inputenc Error: Unicode char u8” error while trying to write a degree symbol (invisible character)".






        share|improve this answer




























          0












          0








          0







          A similar issue, regarding incompatible (spurious) character encoding, can be found with more details in "inputenc Error: Unicode char u8” error while trying to write a degree symbol (invisible character)".






          share|improve this answer















          A similar issue, regarding incompatible (spurious) character encoding, can be found with more details in "inputenc Error: Unicode char u8” error while trying to write a degree symbol (invisible character)".







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 13 '17 at 12:35









          Community

          1




          1










          answered Jan 24 '17 at 19:36









          Felipe G. M. MaiaFelipe G. M. Maia

          1314




          1314























              0














              just gind abnormal characters in your bibliography, remove them.. delete aux, .bbl, .bcf etc. file rerun it.. it will start working.. this worked for me





              share








              New contributor




              rajagopalan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.

























                0














                just gind abnormal characters in your bibliography, remove them.. delete aux, .bbl, .bcf etc. file rerun it.. it will start working.. this worked for me





                share








                New contributor




                rajagopalan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.























                  0












                  0








                  0







                  just gind abnormal characters in your bibliography, remove them.. delete aux, .bbl, .bcf etc. file rerun it.. it will start working.. this worked for me





                  share








                  New contributor




                  rajagopalan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.










                  just gind abnormal characters in your bibliography, remove them.. delete aux, .bbl, .bcf etc. file rerun it.. it will start working.. this worked for me






                  share








                  New contributor




                  rajagopalan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.








                  share


                  share






                  New contributor




                  rajagopalan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered 5 mins ago









                  rajagopalanrajagopalan

                  1




                  1




                  New contributor




                  rajagopalan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  rajagopalan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  rajagopalan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f230062%2fhow-to-fix-package-inputenc-error-unicode-char-u8%25c3%25af-%25c2%25bd-not-set-up-for-use-with%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      サソリ

                      広島県道265号伴広島線

                      Accessing regular linux commands in Huawei's Dopra Linux