Skip to content

fix(channels): support Windows legacy consoles#62

Merged
Germey merged 1 commit into
mainfrom
fix/windows-ascii-doctor
Jul 13, 2026
Merged

fix(channels): support Windows legacy consoles#62
Germey merged 1 commit into
mainfrom
fix/windows-ascii-doctor

Conversation

@acedatacloud-dev

Copy link
Copy Markdown
Member

Root cause

Channels doctor printed Unicode status markers. On Chinese Windows CMD using CP936, Python raised UnicodeEncodeError before users could see the connectivity result.

Fix

Use ASCII-only [OK], [FAIL], and -> skipped output.

Validation

  • ruff clean; 21 tests pass (1 POSIX-only skipped).
  • Tests assert successful and failed doctor output encodes as CP936.
  • Real CP936 CMD with no UTF-8 overrides: correct tenant token exit 0; wrong token 401/exit 1.

@Germey Germey merged commit 438f93d into main Jul 13, 2026
3 checks passed
@Germey Germey deleted the fix/windows-ascii-doctor branch July 13, 2026 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants