tags:

views:

45

answers:

1

Im running the mactex 2010 distribution with texshop. However I´m unable to get danish characters in the rendered pdf, although the text is OK within the editor (before rendering). I´ve ensured that the encoding is set to utf-8 in texshop. My preamble is

\documentclass[a4paper,dansk,11pt]{article}
\usepackage[T1]{fontenc,url}
\usepackage{textcomp}
\usepackage[utf8]{inputenc}
\usepackage[dansk]{babel}
\usepackage {graphicx}
\usepackage{relsize}
\usepackage{setspace}
\usepackage{ctable} 
\usepackage{Sweave}
\usepackage[section]{placeins}

Any ideas what I should do?

//M

A: 

Maybe:

\documentclass[a4paper]{article}

\usepackage[latin1]{inputenc}
\usepackage{t1enc}
\usepackage[danish]{babel}
shk
Setting `inputenc` to `latin1` is a bit counterproductive when the file is encoded with UTF-8.
musiKk
the latin1 option has already been tried without any success. Even if I have the file encoded in that format. //M
Misha