kz930 opened a new pull request, #8988: URL: https://github.com/apache/texera/pull/8988
### What changes were proposed in this PR? The Python drivers in `MachineLearningScorerOpDescSpec`, `FilledAreaPlotOpDescSpec` and `TreePlotOpDescSpec` opened the generated module without an encoding, so Python decoded it with the locale's, which is cp1252 on Windows. The spec writes it as UTF-8. Each driver now passes `encoding="utf-8"`, as the drivers that read Plotly HTML already do. ### Any related issues, documentation, discussions? Closes #8976 ### How was this PR tested? The three specs pass locally (51 tests). The generated modules are ASCII today, so the change only matters once one is not. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 5.5) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
