diff --git a/src/Mod/BIM/importers/importOBJ.py b/src/Mod/BIM/importers/importOBJ.py index 09ef1761f8df..022790b9b4bd 100644 --- a/src/Mod/BIM/importers/importOBJ.py +++ b/src/Mod/BIM/importers/importOBJ.py @@ -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