Ok after a full night of head scratching & hitting
wall, i discovered what produced this nasty phenomena:
when i pasted in a editor the .lyx snippet from the
german .lyx file, the editor automatically changed the
_fileencoding_ of the file from latin1 to utf-8. So
the files looked _exactly_ the same on vi, but
different on mozilla and lyx.
Watch out! this is rather annoying and can make you
feel obnoxious and ready to throw the computer out of
the window
--- Charlls Quarra <[EMAIL PROTECTED]>
escribi�: > I add two semi-minimal examples of a well
encoded
> .lyx file and a bad encoded one. Note that both
> display correctly encoded characters when viewed
> directly with vi, but they look screwed in
> badenc.lyx
>
> Im totally inept to find a difference between the
> headers of both files :-(
>
>
>
> --- Charlls Quarra <[EMAIL PROTECTED]>
> escribi�: >
> >
> > i copied from a german document to my spanish
> > document, before doing the copy exporting the
> > document
> > to latex would produce
> >
> > transici�n
> >
> > but now it produces
> >
> > transici�\ensuremath{�}n
> >
> > not to mention that it looks screwd up also in
> the
> > lyx window. I tried verifying that
> > Layout->Document->Language is set as
> >
> > Language: spanish
> > Encoding: auto
> >
> > i also verified that
> > edit->preferences->Output->Latex
> > is set to
> >
> > Tex encoding: T1
> >
> >
> > So i've run out of ideas where this may be set
> up.
> > I
> > already removed everything from the german
> document,
> > but still the special accent characters looks
> > screwd.
> > Also the text in the .lyx file is still in correct
> > accent characters so (Thank God) this is only a
> > application screwd that didnt apparently affected
> > the
> > file. However other documents show correctly
> special
> > accent characters so its something special of this
> > file
> >
> >
> > please help :-(
> >
>
> ------------
> Contanos c�mo us�s el correo electr�nico,
> qu� pens�s del spam y de los virus.
> Encuesta de Correo Yahoo!
> Particip� en
> http://ar.surveys.yahoo.com/ar_mailpr2
> ATTACHMENT part 2 application/octet-stream
name=badenc.lyx
> ATTACHMENT part 3 application/octet-stream
name=goodenc.lyx
------------
Contanos c�mo us�s el correo electr�nico,
qu� pens�s del spam y de los virus.
Encuesta de Correo Yahoo!
Particip� en
http://ar.surveys.yahoo.com/ar_mailpr2