From 542b53bb0fabdc84c968bcaf0af16a1175dcb286 Mon Sep 17 00:00:00 2001 From: jp Date: Sun, 12 Apr 2026 00:06:16 -0700 Subject: [PATCH] fix: replace Unicode checkmark with ASCII + for Windows encoding (#535) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Windows terminals using cp1251/cp1252 crash on the Unicode ✓ (U+2713) in progress output. Replace with ASCII + in convo_miner.py and split_mega_files.py. Co-Authored-By: Claude Opus 4.6 --- mempalace/convo_miner.py | 2 +- mempalace/split_mega_files.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mempalace/convo_miner.py b/mempalace/convo_miner.py index ba98d0e..bcd9916 100644 --- a/mempalace/convo_miner.py +++ b/mempalace/convo_miner.py @@ -471,7 +471,7 @@ def mine_convos( room_counts[r] += n total_drawers += drawers_added - print(f" ✓ [{i:4}/{len(files)}] {filepath.name[:50]:50} +{drawers_added}") + print(f" + [{i:4}/{len(files)}] {filepath.name[:50]:50} +{drawers_added}") print(f"\n{'=' * 55}") print(" Done.") diff --git a/mempalace/split_mega_files.py b/mempalace/split_mega_files.py index f57beca..286c2ef 100644 --- a/mempalace/split_mega_files.py +++ b/mempalace/split_mega_files.py @@ -224,7 +224,7 @@ def split_file(filepath, output_dir, dry_run=False): print(f" [{i + 1}/{len(boundaries) - 1}] {name} ({len(chunk)} lines)") else: out_path.write_text("".join(chunk), encoding="utf-8") - print(f" ✓ {name} ({len(chunk)} lines)") + print(f" + {name} ({len(chunk)} lines)") written.append(out_path)