On Sunday, November 13, 2022 at 2:51:06 PM UTC-6 [email protected] wrote:

> 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.
>

Thanks for this report. Please feel free to file an issue for this. It 
could have the "Info", "Bug" and "Can'tFix" labels :-)

Edward

-- 
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/7e0eba27-b193-4268-9966-9e513526932fn%40googlegroups.com.

Reply via email to