From: dmv Date: Fri, 9 Oct 2009 13:28:41 +0000 (+0000) Subject: Porting to Python 2.6 - add coding page specification for Python scripts X-Git-Tag: V5_1_3rc1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e2d11247f8bd12e41fc7474ebfaf686fddf87f90;p=modules%2Fvisu.git Porting to Python 2.6 - add coding page specification for Python scripts --- diff --git a/src/VISU_I/VISU_DumpPython.cc b/src/VISU_I/VISU_DumpPython.cc index a04f0f73..c7e395e0 100644 --- a/src/VISU_I/VISU_DumpPython.cc +++ b/src/VISU_I/VISU_DumpPython.cc @@ -2133,6 +2133,7 @@ namespace VISU #endif std::string aPrefix(PREFIX); + aStr<< "#!/usr/bin/python" << endl << "# -*- coding: iso-8859-1 -*-" << endl; aStr<<"### This file is generated by SALOME automatically by dump python functionality" " of VISU component"<