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: '3D Studio (.3ds)...'
Blender: 243

View File

@@ -1,5 +1,5 @@
#!BPY
# coding: utf-8
""" Registration info for Blender menus
Name: 'Bevel Center'
Blender: 243

View File

@@ -1,5 +1,5 @@
#!BPY
# coding: utf-8
"""
Name: 'BlenderLipSynchro'
Blender: 242

View File

@@ -1,4 +1,5 @@
#!BPY
# coding: utf-8
""" Registration info for Blender menus:
Name: 'M3G (.m3g, .java)...'
Blender: 244
@@ -3070,3 +3071,4 @@ def file_callback_m3g(filename):
if __name__ == '__main__':
gui()

View File

@@ -1,5 +1,5 @@
#!BPY
# coding: utf-8
""" Registration info for Blender menus:
Name: 'HotKey and MouseAction Reference'
Blender: 242

View File

@@ -1,5 +1,5 @@
#!BPY
# coding: utf-8
"""
Name: 'Autodesk DXF (.dxf)'
Blender: 244
@@ -5943,3 +5943,4 @@ if 1:
print 'TOTAL TIME: %.6f' % (Blender.sys.time() - TIME)
"""

View File

@@ -1,5 +1,5 @@
#!BPY
# coding: utf-8
"""
Name: 'Paths (.svg, .ps, .eps, .ai, Gimp)'
Blender: 233
@@ -93,3 +93,4 @@ elif argv=='Gimp_2_0':
text = 'Import %s' % argv
Blender.Window.FileSelector (fonctionSELECT, text)

View File

@@ -1,5 +1,5 @@
#!BPY
# coding: utf-8
""" Registration info for Blender menus: <- these words are ignored
Name: 'Deformed mesh to Rvk'
Blender: 243