Re: Patch for lyx2lyx to support utf-8

2006-08-07 Thread Jean-Marc Lasgouttes
> "José" == José Matos <[EMAIL PROTECTED]> writes: José> Yes, we do for several reasons. We don't want to parse the José> same file over and over again. This file is generated from José> another python script that parses lib/languages and José> lib/encondings. If it is auto-generated, I gue

Re: Patch for lyx2lyx to support utf-8

2006-08-07 Thread José Matos
On Sunday 06 August 2006 19:43, Jean-Marc Lasgouttes wrote: > > "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: > > Jose'> Hi, the following patch adds support for a fictitious file > Jose'> format called 249 which has the property that file encoding is > Jose'> utf-8. > > @@ -0,0 +1,127 @@

Re: Patch for lyx2lyx to support utf-8

2006-08-06 Thread Jean-Marc Lasgouttes
> "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: Jose'> Hi, the following patch adds support for a fictitious file Jose'> format called 249 which has the property that file encoding is Jose'> utf-8. @@ -0,0 +1,127 @@ +lang = {'afrikaans': ['afrikaans', 'Afrikaans', 'false', 'iso8859-1', '

Re: Patch for lyx2lyx to support utf-8

2006-08-03 Thread Lars Gullik Bjønnes
José Matos <[EMAIL PROTECTED]> writes: | On Thursday 03 August 2006 15:11, Lars Gullik Bjønnes wrote: | > Jose' Matos <[EMAIL PROTECTED]> writes: | > | > [...] | > | > |   When I referred before I was talking about using ucs-4 and ucs-2 for | > | the external format. | > | > That has never been an

Re: Patch for lyx2lyx to support utf-8

2006-08-03 Thread José Matos
On Thursday 03 August 2006 15:11, Lars Gullik Bjønnes wrote: > Jose' Matos <[EMAIL PROTECTED]> writes: > > [...] > > |   When I referred before I was talking about using ucs-4 and ucs-2 for > | the external format. > > That has never been an option. So what about uft-16? ;-) > |   I propose to

Re: Patch for lyx2lyx to support utf-8

2006-08-03 Thread Lars Gullik Bjønnes
Jose' Matos <[EMAIL PROTECTED]> writes: [...] | When I referred before I was talking about using ucs-4 and ucs-2 for the | external format. That has never been an option. | I propose to leave the inputencoding in the file. After all xml allows it | there, so why should not we? We should

Re: Patch for lyx2lyx to support utf-8

2006-08-03 Thread Jose' Matos
On Thursday 03 August 2006 14:44, Lars Gullik Bjønnes wrote: > Right. The internal format (which will be ucs-4, unless somehting > happens) has little or nothing to do with the external format. I know and that is how it work in python as well, the internal representation is ucs-4. Not that I ca

Re: Patch for lyx2lyx to support utf-8

2006-08-03 Thread Lars Gullik Bjønnes
Jose' Matos <[EMAIL PROTECTED]> writes: | On Thursday 03 August 2006 14:26, Lars Gullik Bjønnes wrote: | > IMHO we should drop \inputencoding from the fileformat when moving to | > utf-8, it is not as if you have a choice... | | Such as it is the code supports ucs-4 and ucs-2, but I think that

Re: Patch for lyx2lyx to support utf-8

2006-08-03 Thread Jose' Matos
On Thursday 03 August 2006 14:26, Lars Gullik Bjønnes wrote: > IMHO we should drop \inputencoding from the fileformat when moving to > utf-8, it is not as if you have a choice... Such as it is the code supports ucs-4 and ucs-2, but I think that I agree that we can use utf-8 as the ("de facto")

Re: Patch for lyx2lyx to support utf-8

2006-08-03 Thread Lars Gullik Bjønnes
Jose' Matos <[EMAIL PROTECTED]> writes: | Index: lyx_1_5.py | === | --- lyx_1_5.py(revision 14537) | +++ lyx_1_5.py(working copy) | @@ -216,6 +216,15 @@ | i = i + 1 | | | +def convert_utf8(document): | +