The English version of Windows 2 k server cannot return Chinese normally

Source: Internet
Author: User
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>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.