我使用 C# 创建了一个 Windows 应用程序,该应用程序使用 OleDBConnection 使用 Dbase 数据库文件中的数据创建数据集。
我的问题是它在我自己的计算机上运行得很好(瑞典语),但是当我在我的服务器上运行它(英语)时,瑞典语字母(å,ä,ö,Å,Ä,Ö)就搞砸了。
我试过这个没有运气:
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("sv-SE");
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("sv-SE");