【发布时间】:2011-08-23 09:07:27
【问题描述】:
我有一个带有 AutoCompleteBox 的 Silverlight 3 应用程序,供用户输入搜索词组。用户必须能够输入立陶宛字符(UTF-8 编码)。
在代码中,我将文化设置为 lt-LT:Thread.CurrentThread.CurrentCulture = new CultureInfo(e.InitParams["lt-LT"]);
Thread.CurrentThread.CurrentUICulture = new CultureInfo(e.InitParams["lt-LT"]);
在 IE、Opera 和 Safari 中一切正常,但在 Firefox 和 Chrome 中,无法输入像 ąčęėįšųū 这样的字符。也许有人可以帮我解决这个问题?
【问题讨论】:
标签: encoding utf-8 localization silverlight-3.0