BIM: Fix bug in OBJ import caused by missing utf8 encoding
Fixes #15512.
This commit is contained in:
@@ -306,7 +306,7 @@ def insert(filename,docname):
|
||||
doc = FreeCAD.newDocument(docname)
|
||||
FreeCAD.ActiveDocument = doc
|
||||
|
||||
with pythonopen(filename,"r") as infile:
|
||||
with pythonopen(filename,"r",encoding="utf8") as infile:
|
||||
verts = []
|
||||
facets = []
|
||||
activeobject = None
|
||||
|
||||
Reference in New Issue
Block a user