Problems with UTF8 and pre-association
I've been using pre-association for a while with great success. This term, however, I have student names with ñ, á, é, and ó and even one with ä. However, no matter what I do, I can't seem to get csvreader/amc to render them correctly. ä and é print as Ã plus a symbol (Euro and copyright, respectively). ñ, á, and é cause a missing $ error while compiling the latex. Your example shows names with accents - how do you get it to work?
It seems that your students list is
UTF8 encoded, and your source file is declared as
latin-1 or similar. Try to change the source file encoding (and the
inputenc directive) to
Send us a minimal working example (LaTeX source file and csv file) if you need some more help.
RE: Problems with UTF8 and pre-association - Added by David Dixon over 7 years ago
Yes, my mistake. Or Lyx's mistake. I had to export to latex to find out that, even though I give utf8 as an argument to the document class, Lyx assumes latin1 for inputenc. I finally found a place where the argument to inputenc can be set, and that solves it. Thanks!