Lars Gullik Bjønnes wrote:

> | #LyX 1.3 created this file. For more info see http://www.lyx.org/
> | \lyxformat 221
> | 
> | is unchanged in UTF-8. We'll just need to read the \lyxformat to
> | ascertain whether the rest of the file is encoded in UTF-8 and, if not,
> | use Python's unicode stuff to perform the transformation from LyX 1.4
> | format.
> 
> You need to parse the file a bit to discover the norm so that you know
> from what encoding to convert. But sure, I do not think this will be
> hard.

  The document language defines its encoding, isn't it?

  If it is like that we can have a transition format where we place the
document encoding in the documents header.

  Say format 250, after the format number it follows its encoding. We
know that this is still ascii, so no problems here. :-)

>         Lgb

-- 
José Matos

Reply via email to