diff --git a/README.md b/README.md index a31b7d4e..ae0fb7b7 100644 --- a/README.md +++ b/README.md @@ -242,7 +242,7 @@ For detailed session history, see [HERALD.md](HERALD.md). - At least one AI CLI: Claude Code (recommended), Codex, or Gemini CLI - `sudo` access (for global CLI symlinks) - API keys optional (OpenRouter/OpenAI — for optional add-on agents) -- **Platforms:** Linux (fully tested), macOS (untested, should work), Windows via WSL2 +- **Platforms:** Linux (tested, primary dev environment), macOS (untested), Windows (native testing in progress — see [open issues](https://github.com/AIOSAI/AIPass/issues?q=is%3Aissue+is%3Aopen+Windows)) --- diff --git a/src/aipass/drone/cli.py b/src/aipass/drone/cli.py index 66f45ba3..b403da0f 100644 --- a/src/aipass/drone/cli.py +++ b/src/aipass/drone/cli.py @@ -13,8 +13,15 @@ Usage: drone @module command [args] Route command to internal module """ +import os import sys +# Windows terminals default to cp1252 which can't encode Rich's Unicode +# characters (box-drawing, em dashes, arrows). Force UTF-8 before any +# imports that trigger Rich output. +if sys.platform == "win32": + os.environ.setdefault("PYTHONUTF8", "1") + from aipass.drone.apps.drone import main as _drone_main