This seems to be doing it for vim:
set fileencodings=ucs-bom,utf-8,latin1
The already recorded characters are displayed correctly and I can also
use accents etc in vim.
But, still, I seem to still need \enableregime[latin1] in the
preamble. When I comment it out:
! Improper alphabetic constant.
<to be read again>
\blank
\utffouruniglph ...f@b *(`#2-\utf@g )+\utf@a *(`#3
-\utf@g )+`#4-\utf@g \relax }
l.68 \blank[
5cm] ...
Pau
2009/2/19 Pau
Hello,
thanks to all of you for your answers. Yes, it seems to be an encoding problem. After using \enableregime[latin1] in the preamble, the characters are fixed, but I would like to understand the problem of the encoding.
If I open the file with nvi or vim, I can "see" the characters displayed correctly in the terminal with the default encodings. Now, if I add this to my vimrc:
set encoding=utf-8 set termencoding=utf-8
then I get strange symbols when writing, instead of the accents like á instead of á (now the question is what you see!)
I will do a bit more of research, because I see a potential source of problems here...
Thanks to all,
Pau
2009/2/19 Taco Hoekwater
: Pau wrote:
Can you please try this?
---------------------------------------- \language[es] \mainlanguage[es] \enableregime[utf-8] \starttext ¡Hola! ¿Me ves bien? \stoptext ----------------------------------------
Works fine here: ConTeXt ver: 2009.02.06 19:27, pdftex 1.49.9 as well as luatex trunk
Best wishes, Taco
-- Let there be peace on earth. And let it begin with misc
-- Let there be peace on earth. And let it begin with misc