From b25326781db5e811ced87f774dc8dd94bcef759e Mon Sep 17 00:00:00 2001 From: git_alhan Date: Fri, 12 Jun 2026 22:50:23 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20use=20utf-8=20encoding=20when=20reading?= =?UTF-8?q?=20config=20=E2=80=94=20cp1252=20fails=20on=20Unicode=20chars?= =?UTF-8?q?=20like=20em-dash?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index 7518de6..2e24fb1 100644 --- a/__init__.py +++ b/__init__.py @@ -155,7 +155,7 @@ def _handle_sl(raw_args: str) -> Optional[str]: # Load column config try: if config_path.exists(): - cfg = yaml.safe_load(config_path.read_text()) + cfg = yaml.safe_load(config_path.read_text(encoding="utf-8")) columns = cfg.get("columns", []) else: columns = []