not sure if this is the best sub-forum to place this (maybe a mod. can move it if it's more appropriate elsewhere) but I'll try.
I'm trying to compile a document which includes Norwegian characters with LuaLaTeX.
My preamble looks like the following
Code: Select all
\documentclass[11pt,a4paper,norsk]{article}
\usepackage{fontspec}
\setmainfont{XITS}
\usepackage{marvosym}
\usepackage[pdftex]{graphicx}
\usepackage[obeyall]{siunitx}
\pagestyle{empty}
However, when the compiler gets to this line I get the following error
Code: Select all
! String contains an invalid utf-8 sequence.
l.63 gjennomf
�re 45\\
I know that the XITS font supports these characters (tested in MS Office 2007), so that's not the problem. However, since I'm new to LuaLaTeX / XeLaTeX I haven't been able to figure this out yet.
I'm running TeXLive2010 pretest on my Ubuntu 10.04 (32bit) distro, if that should matter.
Any help is appreciated!
Best regards,
D.