mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-06 13:29:39 +08:00
On Windows, piped or redirected output uses the ANSI code page, and a character outside it (an emoji or check mark in a model reply, CJK text on a cp1252 system, a CJK notebook name, the Chinese help of skill login) raised UnicodeEncodeError: the command exited 1 and the rest of its output was lost. deeptutor run --format json stopped after three events. main() now calls the launcher's _relax_console_encoding(), which deeptutor start has used since #702: the streams keep their encoding and characters it cannot represent are written as "?".