When I write simple LaTeX documents in Microsoft Windows (via TeXnicenter), the very beginning of my preamble looks like this:
Code: Select all
\documentclass[10pt,a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage[frenchb,english]{babel}
I have no accent problems under Microsoft Windows, but, if I copy a .tex file and read it on Linux (via Kile or Texmaker), it immediately transforms all my accents into weird letters and symbols.
It seems to be a coding problem, but I don't understand something: as my Ubuntu (it does the same on Debian) is in English, and as the UTF becomes the most used coding in the world, when I start Kile, it automatically loads UTF-8.
I've looked in its options, and Settings>Configure Kile gives me a "Input encoding" field, where I've put "iso 8859-1"; it is saved, but seems not to be used by Kile.
Does the accent problem come from my editor or from my preamble?
I want to precise that I write some texts in French, that's why I need a lot of accents.
Thanks.