added encoding "# coding: utf-8" to the headers of scripts that python would not run with execfile('....'), python would also riase the error, though there is no practicle use

for running these scripts outside blender.

The error looked like this.
SyntaxError: Non-ASCII character '\xe4' in file ./3ds_export.py on line 10, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
This commit is contained in:
2008-05-11 12:41:12 +00:00
parent 50bbc0ff23
commit b9c66e88ea
8 changed files with 16 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
#!BPY
# coding: utf-8
"""
Name: 'Paths (.svg, .ps, .eps, .ai, Gimp)'
Blender: 233
@@ -92,4 +92,5 @@ elif argv=='Gimp_2_0':
fonctionSELECT = functionSELECT # can they all be called function?
text = 'Import %s' % argv
Blender.Window.FileSelector (fonctionSELECT, text)
Blender.Window.FileSelector (fonctionSELECT, text)