On Windows, if you redirect console output to a file or pipe, and if there are non-ascii unicode characters in your output, you may get failure with an error message about the wrong code page. The reason is obscure, and discussed here with solutions:
UnicodeEncodeError in Windows agent CI pipelines <https://gist.github.com/NodeJSmith/e7e37f2d3f162456869f015f842bcf15> tl;dr - When you redirect the output, Windows uses the system locale encoding instead of the console encoding. Even if the console encoding is 65001 (quasi-utf-8), the local encoding is probably using still using cp1252 (ascii) or similar. Windows 11 may have a different behavior. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/f41fdca2-4b1a-4c96-a49e-6bfbc158eec6n%40googlegroups.com.
