/images/placeholder.jpg

asp.net core 中文被转码的问题

  • "date" : "2023-07-14 05:52:41"
  • "classfiy" : "asp.net core"
  • "author" : "飞扬"
  • "viewTimes" : 110

Startup.cs里面加入代码:

  1. services.Configure<WebEncoderOptions>(options => options.TextEncoderSettings = new TextEncoderSettings(UnicodeRanges.All));