I have developed a set of asp.net-based websites that have been developed in the Chinese version of windows XP. After being installed in the English version of windows 2 K, I cannot display the Chinese characters of my website on other windows systems that have installed the Chinese version, modify web. the <globalization> in config does not have any effect. I don't know if a friend has encountered such a problem. Please kindly advise! Thank you!
* ************ Updated on 2005.3.18 *************
Solution from cn.thespoke.net
Make the following changes: <globalization fileEncoding = "UTF-8">
In msdn, fileEncoding specifies the default encoding for. aspx,. asmx, And. asax file analysis. Unicode and UTF-8 files that are stored together with the byte order mark prefix are automatically recognized, regardless of the fileEncoding value.
************ Updated on 2005.3.20 *************
On msdn, we recommend that the ResponseEncoding and RequestEncoding be consistent, otherwise garbled characters may occur.
As follows:
ResponseEncoding = "gb2312"
RequestEncoding = "UTF-8"
At this time, the Request may still contain garbled parameters because it does not support Chinese encoding, so you should change it:
ResponseEncoding = "gb2312"
RequestEncoding = "gb2312"
************ Updated on 2005.3.22 *************
Tests over the past two days show that Garbled text may occur in the encoding conversion between the data access layer (database operation layer) and the English version of SqlServer. Currently, we are looking for effective solutions.
Tests show that if you directly attach the database set in the Chinese version of sqlserver to the English version of sqlserver, everything is normal, and some settings may be wrong.
<To be continued>