bluera-knowledge 0.34.2 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6863,7 +6863,15 @@ var PythonBridge = class {
6863
6863
  "Starting Python bridge process"
6864
6864
  );
6865
6865
  this.process = spawn2(pythonPath, [pythonWorkerPath], {
6866
- stdio: ["pipe", "pipe", "pipe"]
6866
+ stdio: ["pipe", "pipe", "pipe"],
6867
+ env: {
6868
+ ...process.env,
6869
+ // Ensure Python uses UTF-8 for stdio on Windows.
6870
+ // Without this, Python defaults to the system ANSI code page (e.g. cp1252),
6871
+ // causing multi-byte UTF-8 sequences to be misread as surrogates.
6872
+ PYTHONUTF8: "1",
6873
+ PYTHONIOENCODING: "utf-8"
6874
+ }
6867
6875
  });
6868
6876
  this.process.on("error", (err2) => {
6869
6877
  logger7.error({ error: err2.message, stack: err2.stack }, "Python bridge process error");
@@ -7642,4 +7650,4 @@ export {
7642
7650
  createServices,
7643
7651
  destroyServices
7644
7652
  };
7645
- //# sourceMappingURL=chunk-VELBEZVB.js.map
7653
+ //# sourceMappingURL=chunk-L2SC6J4K.js.map