Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Name utf-8 on the SSLKEYLOGFILE writability probe (#12190)

Daniel Hanea038e795df0
diff --git a/unsloth_cli/_ssl_keylog.py b/unsloth_cli/_ssl_keylog.py
index 68a1a363d0c..98e4a201b8b 100644
--- a/unsloth_cli/_ssl_keylog.py
+++ b/unsloth_cli/_ssl_keylog.py
@@ -17,7 +17,7 @@ def drop_unwritable_ssl_keylog_file():
if not path:
return False
try:
- with open(path, "a"):
+ with open(path, "a", encoding = "utf-8"):
pass
return False
except OSError as exc: