Several open() calls in the codebase don't specify encoding='utf-8',
which can cause UnicodeDecodeError on Windows systems with non-UTF-8
locales (e.g. GBK).
Affected files:
- packages/opentelemetry-instrumentation-qdrant/init.py (lines 26, 30)
- scripts/codegen/generate_evaluator_models.py (line 27)
Fix: add encoding='utf-8' to all text-mode open() calls.
Several open() calls in the codebase don't specify encoding='utf-8',
which can cause UnicodeDecodeError on Windows systems with non-UTF-8
locales (e.g. GBK).
Affected files:
Fix: add encoding='utf-8' to all text-mode open() calls.