Texmaker and TeXstudio ⇒ Character encoding on Ubuntu
Character encoding on Ubuntu
I'm trying to create a document in portuguese with Texmaker 1.9.2 on Ubuntu 9.10. The document header is as follows:
\documentclass[10pt,a4paper,notitlepage, portugues]{report}
\usepackage[latin1]{inputenc}
\usepackage[portuges]{babel}
Texmaker is configured to use the system's encoding but all accentuated characters are being replaced by other characters. For instance if I insert my name it gets printed as "LuÃs" instead of "Luís".
Strange thing is, if I save the exact same file with another editor like gedit and then run pdflatex in the command line myself all accentuated characters are printed as they should.
I tried changing Texmaker's encoding to UTF or ISO but the results are always the same. What may be wrong?
Thank you,
Luís
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: Character encoding on Ubuntu
\usepackage[utf8]{inputenc}
or
\usepackage[utf8x]{inputenc}
?
Doesn't make much sense to use latin there, if TeXmaker is saving in UTF-8 (which after all is the default encoding for most things on Ubuntu).
Re: Character encoding on Ubuntu
Could you explain the difference between "utf8" and "utf8x"?
Best,
Luís