It should be something like
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\usepackage{CJKutf8}
\begin{document}
\begin{CJK}{UTF8}{megafont}
τέχνη (ΤΕΧΝΗ - technē)
\end{CJK}
\end{document}
I want to write the whole document in UTF8 not just a word like in this question.





CJKutf8? are you writing in an East Asian language? Otherwise remove that package and theCJKenvironment and you'll be fine. – musarithmia Feb 14 '15 at 02:57inputencdoesn't load all unicode symbols. – Feb 14 '15 at 09:14