From e4bbc87094146f752db968613fdddaecd6e975cd Mon Sep 17 00:00:00 2001 From: pradal Date: Thu, 2 Mar 2023 23:07:00 -0500 Subject: [PATCH 1/2] Generate utf-8 wralea files --- src/openalea/core/package.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openalea/core/package.py b/src/openalea/core/package.py index a5c75f3..ce1625f 100644 --- a/src/openalea/core/package.py +++ b/src/openalea/core/package.py @@ -724,6 +724,7 @@ class PyPackageWriter(object): """ Write a wralea python file """ wralea_template = """ +# -*- coding: utf-8 -*- # This file has been generated at $TIME from openalea.core import * From 52109edb71538faebb6720b093b8a785a21acefa Mon Sep 17 00:00:00 2001 From: pradal Date: Fri, 3 Mar 2023 08:53:40 -0500 Subject: [PATCH 2/2] Generate wralea using latin-1 encoding --- src/openalea/core/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openalea/core/package.py b/src/openalea/core/package.py index ce1625f..aa8b20c 100644 --- a/src/openalea/core/package.py +++ b/src/openalea/core/package.py @@ -724,7 +724,7 @@ class PyPackageWriter(object): """ Write a wralea python file """ wralea_template = """ -# -*- coding: utf-8 -*- +# -*- coding: latin-1 -*- # This file has been generated at $TIME from openalea.core import *