【修复】解决Luban.Server和Luban.Client在非大陆地区运行错误日志乱码的问题
parent
e63220be9f
commit
75cc8e969f
|
|
@ -132,6 +132,8 @@ Options:
|
|||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.OutputEncoding = System.Text.Encoding.UTF8;
|
||||
System.Text.Encoding.RegisterProvider(System.Text.CodePagesEncodingProvider.Instance);
|
||||
var profile = new ProfileTimer();
|
||||
|
||||
profile.StartPhase("all");
|
||||
|
|
|
|||
|
|
@ -37,6 +37,8 @@ namespace Luban.Server
|
|||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.OutputEncoding = System.Text.Encoding.UTF8;
|
||||
|
||||
var options = ParseOptions(args);
|
||||
|
||||
Luban.Common.Utils.LogUtil.InitSimpleNLogConfigure(NLog.LogLevel.Info);
|
||||
|
|
|
|||
Loading…
Reference in New Issue