Seite 1 von 1

utf8 inputenc und tikzpicture Probleme bei externen Daten

Verfasst: Di 14. Jul 2015, 17:41
von Marcel
Hallo,

ich habe das Problem, dass ich eine externe Datentabelle im Dokument anzeigen will. ABer in Verbindung mit "utf8 inputenc" funktioniert das leider nicht. So wie im Minimalbeispiel dargestellt funktioniert es ohne Probleme. Es funktioniert auch wenn ich die Werte direkt ins Dokument schreibe das wird mir aber zu unübersichtlich.
\documentclass[paper=a4,12pt]{scrartcl}
\usepackage{pgfplots}

%\usepackage[utf8]{inputenc} <=das ist die Ursache des übels

\begin{document}
\begin{tikzpicture}
		\begin{axis}
			\addplot[smooth,color=red] table{data1x.txt};
		\end{axis}
	\end{tikzpicture}

\end{document}

Verfasst: Di 14. Jul 2015, 17:54
von Noch so einer
Die Datei ist UTF8 mit BOM. Lösung → http://tex.stackexchange.com/questions/ ... order-mark

Verfasst: Di 14. Jul 2015, 17:57
von Besserwisser

Verfasst: Di 14. Jul 2015, 18:01
von Marcel
Das war ja einfach. Danke