梦半闲

Results 1 comments of 梦半闲

IKeyValueStore 升级到net6.0后 表单提交的中文字符串存储到数据库中后是乱码,我调试到OSharp.Core.Systems.KeyValueStore中SaveSetting方法 IKeyValue[] keyValues = type.GetProperties(BindingFlags.Public | BindingFlags.Instance).Where(p => p.PropertyType == typeof(IKeyValue)) .Select(p => (IKeyValue)p.GetValue(setting)).ToArray(); 没有出现问题,能帮忙解决下吗? 我暂时把中文UrlEncode编码了, ![image](https://user-images.githubusercontent.com/6219868/151284881-087da086-47e3-47ef-8d82-591ebe54bd9a.png)