Change8
Error2 reports

Fix UnicodeDecodeError

in ComfyUI

Solution

This error usually stems from Python trying to decode a file using the wrong character encoding. To fix it, specify the correct encoding when opening the file, often 'utf-8'. Example: `open("filename.txt", encoding="utf-8")`. If 'utf-8' doesn't work, try detecting the file's actual encoding and use that instead like 'gbk' or 'latin-1'.

Timeline

First reported:Feb 21, 2026
Last reported:Feb 21, 2026

Need More Help?

View the full changelog and migration guides for ComfyUI

View ComfyUI Changelog