I have some text and variable output that goes in to python’s logger and is written to a log file(as recomended everywhere).
For the coolnes I added some UTF8 chracters. Long story short in 2.80 everything runs like a charm. in 2.81 I keep getthing this error:
Traceback (most recent call last): File "E:\Backup\Blender\Builds\Main_Build\2.81\python\lib\logging\__init__.py", line 1028, in emit stream.write(msg + self.terminator) File "E:\Backup\Blender\Builds\Main_Build\2.81\python\lib\encodings\cp1251.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table) UnicodeEncodeError: 'charmap' codec can't encode character '\u25e6' in position 218: character maps to <undefined> Call stack:
I tried it on two computers,one laptop, one desktop. One has 3.5 python one has 3.7.4 python. Running the same code using local python(not the blender one) it prints as it should in pyCharm.
On the 3.5 python machine I was uising 2.80 and it was writing the file fine as I said…then I changed to 2.81 and it sarted giving me that error.
on the 3.7.4 machine I updated from 2.5 and updated the same time to 2.81 and started getting that error.So I thought it has something to do with python but I guess it’s not.
Is this a bug?