José, some time ago you fixed some python encoding warnings in lyx2lyx. However, it seems that the encoding needs to be specified not only in the main file, but also in the imported modules. The attached patch adds the encoding to every python file in lyx2lyx. The patch is against 1.4, but it probably applies to 1.3 with little modifications.
Georg
Index: lib/lyx2lyx/ChangeLog =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/ChangeLog,v retrieving revision 1.18 diff -u -r1.18 ChangeLog --- lib/lyx2lyx/ChangeLog 2004/01/07 14:36:42 1.18 +++ lib/lyx2lyx/ChangeLog 2004/02/01 18:02:58 @@ -1,3 +1,8 @@ +2004-02-01 Georg Baum <[EMAIL PROTECTED]> + + * lyxconvert2*.py: quiet encoding warning in python 2.3 + * lyxrevert_22[3-9].py: quiet encoding warning in python 2.3 + 2004-01-06 Georg Baum <[EMAIL PROTECTED]> * lyxrevert_228.py: convert ERT status, too Index: lib/lyx2lyx/lyxconvert_210.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxconvert_210.py,v retrieving revision 1.2 diff -u -r1.2 lyxconvert_210.py --- lib/lyx2lyx/lyxconvert_210.py 2003/10/13 09:50:10 1.2 +++ lib/lyx2lyx/lyxconvert_210.py 2004/02/01 18:02:59 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2003 José Matos <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxconvert_215.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxconvert_215.py,v retrieving revision 1.7 diff -u -r1.7 lyxconvert_215.py --- lib/lyx2lyx/lyxconvert_215.py 2003/10/13 09:50:10 1.7 +++ lib/lyx2lyx/lyxconvert_215.py 2004/02/01 18:02:59 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2002 José Matos <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxconvert_216.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxconvert_216.py,v retrieving revision 1.10 diff -u -r1.10 lyxconvert_216.py --- lib/lyx2lyx/lyxconvert_216.py 2003/10/13 09:50:10 1.10 +++ lib/lyx2lyx/lyxconvert_216.py 2004/02/01 18:02:59 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2002 José Matos <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxconvert_217.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxconvert_217.py,v retrieving revision 1.9 diff -u -r1.9 lyxconvert_217.py --- lib/lyx2lyx/lyxconvert_217.py 2003/10/13 09:50:10 1.9 +++ lib/lyx2lyx/lyxconvert_217.py 2004/02/01 18:02:59 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2002 José Matos <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxconvert_218.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxconvert_218.py,v retrieving revision 1.36 diff -u -r1.36 lyxconvert_218.py --- lib/lyx2lyx/lyxconvert_218.py 2003/10/13 09:50:10 1.36 +++ lib/lyx2lyx/lyxconvert_218.py 2004/02/01 18:02:59 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2002 Dekel Tsur <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxconvert_220.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxconvert_220.py,v retrieving revision 1.5 diff -u -r1.5 lyxconvert_220.py --- lib/lyx2lyx/lyxconvert_220.py 2003/10/13 09:50:10 1.5 +++ lib/lyx2lyx/lyxconvert_220.py 2004/02/01 18:02:59 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2002 Dekel Tsur <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxconvert_221.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxconvert_221.py,v retrieving revision 1.5 diff -u -r1.5 lyxconvert_221.py --- lib/lyx2lyx/lyxconvert_221.py 2003/06/02 14:16:17 1.5 +++ lib/lyx2lyx/lyxconvert_221.py 2004/02/01 18:03:00 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2002 Dekel Tsur <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxconvert_223.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxconvert_223.py,v retrieving revision 1.5 diff -u -r1.5 lyxconvert_223.py --- lib/lyx2lyx/lyxconvert_223.py 2003/10/27 18:22:16 1.5 +++ lib/lyx2lyx/lyxconvert_223.py 2004/02/01 18:03:00 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2002 Dekel Tsur <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxconvert_224.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxconvert_224.py,v retrieving revision 1.15 diff -u -r1.15 lyxconvert_224.py --- lib/lyx2lyx/lyxconvert_224.py 2003/12/29 12:56:10 1.15 +++ lib/lyx2lyx/lyxconvert_224.py 2004/02/01 18:03:00 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2003 José Matos <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxconvert_225.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxconvert_225.py,v retrieving revision 1.1 diff -u -r1.1 lyxconvert_225.py --- lib/lyx2lyx/lyxconvert_225.py 2003/12/10 17:28:11 1.1 +++ lib/lyx2lyx/lyxconvert_225.py 2004/02/01 18:03:00 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2003 José Matos <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxconvert_226.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxconvert_226.py,v retrieving revision 1.1 diff -u -r1.1 lyxconvert_226.py --- lib/lyx2lyx/lyxconvert_226.py 2003/12/10 21:48:37 1.1 +++ lib/lyx2lyx/lyxconvert_226.py 2004/02/01 18:03:00 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2003 José Matos <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxconvert_227.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxconvert_227.py,v retrieving revision 1.7 diff -u -r1.7 lyxconvert_227.py --- lib/lyx2lyx/lyxconvert_227.py 2004/01/07 14:36:42 1.7 +++ lib/lyx2lyx/lyxconvert_227.py 2004/02/01 18:03:00 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2003 José Matos <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxconvert_228.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxconvert_228.py,v retrieving revision 1.2 diff -u -r1.2 lyxconvert_228.py --- lib/lyx2lyx/lyxconvert_228.py 2004/01/07 14:36:42 1.2 +++ lib/lyx2lyx/lyxconvert_228.py 2004/02/01 18:03:00 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2003 José Matos <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxrevert_223.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxrevert_223.py,v retrieving revision 1.3 diff -u -r1.3 lyxrevert_223.py --- lib/lyx2lyx/lyxrevert_223.py 2004/01/07 14:36:42 1.3 +++ lib/lyx2lyx/lyxrevert_223.py 2004/02/01 18:03:00 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2003 José Matos <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxrevert_224.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxrevert_224.py,v retrieving revision 1.2 diff -u -r1.2 lyxrevert_224.py --- lib/lyx2lyx/lyxrevert_224.py 2004/01/07 14:36:42 1.2 +++ lib/lyx2lyx/lyxrevert_224.py 2004/02/01 18:03:00 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2003 José Matos <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxrevert_225.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxrevert_225.py,v retrieving revision 1.2 diff -u -r1.2 lyxrevert_225.py --- lib/lyx2lyx/lyxrevert_225.py 2004/01/07 14:36:42 1.2 +++ lib/lyx2lyx/lyxrevert_225.py 2004/02/01 18:03:01 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2003 José Matos <[EMAIL PROTECTED]> # Copyright (C) 2003 Georg Baum <[EMAIL PROTECTED]> # Index: lib/lyx2lyx/lyxrevert_226.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxrevert_226.py,v retrieving revision 1.2 diff -u -r1.2 lyxrevert_226.py --- lib/lyx2lyx/lyxrevert_226.py 2004/01/07 14:36:42 1.2 +++ lib/lyx2lyx/lyxrevert_226.py 2004/02/01 18:03:01 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2003 José Matos <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxrevert_227.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxrevert_227.py,v retrieving revision 1.3 diff -u -r1.3 lyxrevert_227.py --- lib/lyx2lyx/lyxrevert_227.py 2004/01/07 14:36:42 1.3 +++ lib/lyx2lyx/lyxrevert_227.py 2004/02/01 18:03:01 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2003 José Matos <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxrevert_228.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxrevert_228.py,v retrieving revision 1.5 diff -u -r1.5 lyxrevert_228.py --- lib/lyx2lyx/lyxrevert_228.py 2004/01/07 14:36:42 1.5 +++ lib/lyx2lyx/lyxrevert_228.py 2004/02/01 18:03:01 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2003 José Matos <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or Index: lib/lyx2lyx/lyxrevert_229.py =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/lyx2lyx/lyxrevert_229.py,v retrieving revision 1.1 diff -u -r1.1 lyxrevert_229.py --- lib/lyx2lyx/lyxrevert_229.py 2003/12/29 15:49:49 1.1 +++ lib/lyx2lyx/lyxrevert_229.py 2004/02/01 18:03:01 @@ -1,4 +1,5 @@ # This file is part of lyx2lyx +# -*- coding: iso-8859-1 -*- # Copyright (C) 2003 José Matos <[EMAIL PROTECTED]> # # This program is free software; you can redistribute it and/or