mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
Update StringUtil.cs
This commit is contained in:
committed by
TingluoHuang
parent
78a67f8e73
commit
5462304057
@@ -30,7 +30,7 @@ namespace GitHub.Runner.Sdk
|
|||||||
//
|
//
|
||||||
// For example, on an en-US box, this is required for loading the encoding for the
|
// For example, on an en-US box, this is required for loading the encoding for the
|
||||||
// default console output code page '437'. Without loading the correct encoding for
|
// default console output code page '437'. Without loading the correct encoding for
|
||||||
// code page IBM437, some characters cannot be translated correctly, e.g. write 'ç'
|
// code page IBM437, some characters cannot be translated correctly, e.g. write 'ç'
|
||||||
// from powershell.exe.
|
// from powershell.exe.
|
||||||
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
|
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user