11

I have the following BibTeX source

@INPROCEEDINGS{Lincke2008,
  author = {Rüdiger Lincke and Jonas Lundberg and Welf Löwe},
  title = {Comparing software metrics tools.},
  booktitle = {ISSTA},
  year = {2008},
  editor = {Barbara G. Ryder and Andreas Zeller},
  pages = {131-142},
  publisher = {ACM},
  added-at = {2008-08-04T00:00:00.000+0200},
  biburl = {http://www.bibsonomy.org/bibtex/2c28c4fff6d811b643940228935a20e28/dblp},
  crossref = {conf/issta/2008},
  date = {2008-08-04},
  description = {dblp},
  ee = {http://doi.acm.org/10.1145/1390630.1390648},
  interhash = {69e9d6ded70716bc2bb9319abfbb015f},
  intrahash = {c28c4fff6d811b643940228935a20e28},
  isbn = {978-1-60558-050-0},
  keywords = {dblp},
  url = {http://dblp.uni-trier.de/db/conf/issta/issta2008.html#LinckeLL08}
}

I'm managing my BibTeX items with JabRef. Now if I want to cite this item and while generating the PDF i get the following error:

! Package inputenc Error: Keyboard character used is undefined
(inputenc)                in inputencoding `utf8x'.

See the inputenc package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.29 R�
       diger Lincke, Jonas Lundberg, and Welf L�we.

I think the problem is the character ö. How can I avoid that? I also had similar problem with the character é.

lockstep
  • 250,273
  • @StephanKolassa -- Although that question does answer the question for pdflatex, if one uses the utf8 coding and xelatex or lualatex, the single Unicode accented character should work. The cited question needs an updated, properly qualified answer. – barbara beeton May 05 '23 at 14:25

2 Answers2

13

If you use utf8(x) in your tex file, ensure that your BibTeX source file is utf8 encoded as well.

You might use

  • an editor supporting different encodings, opening (in latin1 or accordingly) and save it in utf8 encoding

  • recode

  • iconv

If you don't use utf8(x) in your tex file, load inputenc with the respective option. Or convert the tex file to the same encoding as the BibTeX source and adjust the inputenc option accordingly.

To sum up, the encoding of all involved files should be the same and match the inputenc option.

Stefan Kottwitz
  • 231,401
11

Instead of actually entering the ö and é characters in your source, type \"{o} and \'{e}.

Or rather: Yrjö Engeström as {Yrj{\"o} Engestr{\"o}m}.

N.N.
  • 36,163
Andrew
  • 1,514