36d9a9885c
Progress output contains arrow and box-drawing characters (e.g. the '[2/6 REFLECT] failure=0->0 groups' line and the banner rules). On a Windows console that defaults to cp1252, writing them raises UnicodeEncodeError and kills the process partway through a run -- after rollouts and reflect calls have already been paid for. Both entry points now reconfigure stdout/stderr to UTF-8 with errors='replace' at import time, guarded by hasattr so redirected or exotic streams are left alone.