zeffii / bpy_externall

execute scripts in a running Blender session from any decent text editor.
GNU General Public License v2.0
37 stars 16 forks source link

UnicodeDecodeError #6

Open lastgodking opened 2 years ago

lastgodking commented 2 years ago

I have tried many methods in the past two days, but there is no way to solve this problem. The new statement will cause more errors, and other encodings have been tried, but the problem remains. The following is the error description.

Python: Traceback (most recent call last): File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\bpy_externall-master__init.py", line 138, in modal self.process() File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\bpy_externall-master__init__.py", line 123, in process fp = filepath_read_handler() File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\bpy_externall-master\init__.py", line 82, in filepath_read_handler fp = f.read() File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\lib\codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc9 in position 9: invalid continuation byte

lastgodking commented 2 years ago

I hope the author can see and help solve it, thank you!!