Skip to content

Fix Python SDK UTF-8 profile JSON IO#24

Open
anhtahaylove wants to merge 1 commit into
ProxyShard:mainfrom
anhtahaylove:codex/fix-python-sdk-utf8
Open

Fix Python SDK UTF-8 profile JSON IO#24
anhtahaylove wants to merge 1 commit into
ProxyShard:mainfrom
anhtahaylove:codex/fix-python-sdk-utf8

Conversation

@anhtahaylove

Copy link
Copy Markdown

Summary

  • Read bundled fingerprint/profile JSON with explicit UTF-8 in the Python SDK.
  • Write saved profile JSON with explicit UTF-8 for round-trip consistency.

Fixes #17.

Tests

  • python -m compileall -q sdks/python/shardx
  • Local UTF-8 Profile.from_file smoke with a byte sequence that fails on Windows cp1251 defaults.

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.

UnicodeDecodeError: 'charmap' codec can't decode byte

1 participant