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


\pgfplotstabletypeset[col sep=comma, header=has colnames, verb string type]{test.csv}

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:


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