1

I'm using pgfplotstable to render CSV-files as tables in my document:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{pgfplotstable}

\begin{document}
ÄÖÜ!
\pgfplotstabletypeset[col sep=comma, header=has colnames, verb string type]{test.csv}
\end{document}

That's working perfectly, until there are special characters in the external file. They cause errors in the first line, and are simply ignored in the following lines.

Here's my test.csv, which is encoded as UTF-8:

h1,öüä
d1,äöü

How can I make sure these characters render correctly?

closed as unclear what you're asking by egreg, Mico, Torbjørn T., user13907, Mensch Oct 4 '14 at 21:54

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    It works for me if I add \usepackage[T1]{fontenc} and use string type instead of verb string type – Jake Aug 8 '13 at 14:57
  • I can confirm that. Since fontenc seems to have additional benefits, I'll look into using that. – fefrei Aug 8 '13 at 15:08
  • I really need verb. Any way to make it work with that? – fefrei Aug 8 '13 at 15:11
  • Could you give an example of the kind of stuff that will be in your table that needs verb? – Jake Aug 8 '13 at 15:15
  • Mostly e-mail-addresses containing _, probably some other reserved characters. – fefrei Aug 8 '13 at 15:18