2

Sorry for my confusing title. :) I'm a newbie, so please bear with me.

I use

\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}

but in order to write Ø, I have to write \O{} in the text. However in my bib-file, there are lots of Øs and Ås which are treated correctly.

I've tried switching to

\usepackage[utf8]{inputenc} 

instead of \usepackage[latin1]{inputenc}. Now the Øs and Ås in the text work well (without me having to write \O{}), but now the bib-file gives me many errors (it can't read Æ Ø). This is so confusing.

I've read that I should switch to biblatex, but the document is so big and we need a certain style etc., so I don't think we can do that.

I use Winedt. Thanks!

closed as off-topic by Mensch, Phelype Oleinik, siracusa, user121799, Raaja Jun 18 at 3:29

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 5
    presumably your bib files are stored in latin1 (iso-8859-1) and your main text file is stored in UTF-8, the simplest thing is to use your editor to save all the files in UTF-8. – David Carlisle Jan 4 at 9:53
  • 1
    This suggests that your .tex file and your .bib file use different file encodings. Make sure that both use the same encoding (I would prefer UTF-8). Though it should be noted that BibTeX does not officially support non-ASCII characters. In practice you will not always notice this, since non-ASCII chars are usually passed through as they are, but for sorting and label generation this could be an issue. So for BibTeX the official advice is still to use macros to write non-ASCII chars (tex.stackexchange.com/q/57743). – moewe Jan 4 at 9:54
  • The other alternative is biblatex/Biber (you mentioned it yourself, and apparently this is not feasible for this project, but maybe for future work, though one has to keep in mind that publishers probably won't accept biblatex submissions: tex.stackexchange.com/q/12175/35864). – moewe Jan 4 at 9:58
  • Okay, thanks! Very much appreciated! How do I switch the bib file from latin to UTF-8? Still a newbie.. :) – elvis1000 Jan 4 at 10:16
  • 4
    I'm voting to close this question as off-topic because it was solved in comments. – Mensch Jun 18 at 1:06