This commit introduced this bug since version 8.0.23 https://github.com/mysql/mysql-workbench/commit/b3c198f6a50dd44793860eaa6d3165eaeb2cbe72
It hard-codes the encoding to UTF-8, which is not Windows' default.
Apply this patch to fix the problem https://github.com/mysql/mysql-workbench/commit/c71cab7340ed4497faef65ed9bf99a5b90fe6897