[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14079] trunk/blender/release/scripts/ bpymodules: French text was breaking python interpreters.
Stephen Swaney
sswaney at centurytel.net
Thu Mar 13 04:32:56 CET 2008
Revision: 14079
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14079
Author: stiv
Date: 2008-03-13 04:32:23 +0100 (Thu, 13 Mar 2008)
Log Message:
-----------
French text was breaking python interpreters.
Add character encoding to file like this:
# -*- coding: latin-1 -*-
Thanks to eago for the bug report.
Modified Paths:
--------------
trunk/blender/release/scripts/bpymodules/paths_ai2obj.py
trunk/blender/release/scripts/bpymodules/paths_gimp2obj.py
Modified: trunk/blender/release/scripts/bpymodules/paths_ai2obj.py
===================================================================
--- trunk/blender/release/scripts/bpymodules/paths_ai2obj.py 2008-03-13 01:24:59 UTC (rev 14078)
+++ trunk/blender/release/scripts/bpymodules/paths_ai2obj.py 2008-03-13 03:32:23 UTC (rev 14079)
@@ -1,3 +1,4 @@
+# -*- coding: latin-1 -*-
"""
paths_ai2obj.py
# ---------------------------------------------------------------
@@ -42,10 +43,10 @@
# Communiquer les problemes et erreurs sur:
# http://www.zoo-logique.org/3D.Blender/newsportal/thread.php?group=3D.Blender
#----------------------------------------------
+
+#Changelog
#----------------------------------------------
-#Chagelog
-#----------------------------------------------
-# 0.1.1 : 2004/08/03, bug in boudingbox reading when Value are negative
+# 0.1.1 : 2004/08/03, bug in boundingbox reading when Value are negative
# 0.1.2 : 2005/06/12, gmove tranformation properties
# 0.1.3 : 2005/06/25, added a __name__ test to use the script alone
# 0.1.4 : 2005/06/25, closepath improvements
@@ -57,6 +58,9 @@
# 0.1.8 : 2006/07/03, two more closepath improvements
# 0.1.9 : 2007/05/06, modif on the method that gets the last object on
the list data
+# 2008/03/12, Added character encoding line so french text
+# does not break python interpreters.
+
"""
SHARP_IMPORT=0
SCALE=1
Modified: trunk/blender/release/scripts/bpymodules/paths_gimp2obj.py
===================================================================
--- trunk/blender/release/scripts/bpymodules/paths_gimp2obj.py 2008-03-13 01:24:59 UTC (rev 14078)
+++ trunk/blender/release/scripts/bpymodules/paths_gimp2obj.py 2008-03-13 03:32:23 UTC (rev 14079)
@@ -1,3 +1,4 @@
+# -*- coding: latin-1 -*-
"""
#----------------------------------------------
# (c) jm soler juillet 2004,
@@ -43,6 +44,9 @@
# http://jmsoler.free.fr/didacticiel/blender/tutor/cpl_import_gimp.htm
# Communiquer les problemes et erreurs sur:
# http://www.zoo-logique.org/3D.Blender/newsportal/thread.php?group=3D.Blender
+# Modification History:
+# 2008-03-12 Added character encoding line so french text does not break
+# python interpreters.
#---------------------------------------------
SHARP_IMPORT=0
More information about the Bf-blender-cvs
mailing list