Page Encoding
-
When I try to browse a page on a site am creating on my computer using localhost i.e. http://localhost/MySite/Login.aspx, the browser returns some un-intelligible (to me) output which from its form looks pretty much like some error message. When I right-click on the page and check Encoding it is set to "Chinese Simplified (GB2312)" yet I did not set it thus. When I try to browse using 127.0.0.1 i.e. http://127.0.0.1/MySite/Login.aspx the login page loads okay. What could the problem be? I previously suffered a virus attack but I managed to remove the virus successfully.
-
When I try to browse a page on a site am creating on my computer using localhost i.e. http://localhost/MySite/Login.aspx, the browser returns some un-intelligible (to me) output which from its form looks pretty much like some error message. When I right-click on the page and check Encoding it is set to "Chinese Simplified (GB2312)" yet I did not set it thus. When I try to browse using 127.0.0.1 i.e. http://127.0.0.1/MySite/Login.aspx the login page loads okay. What could the problem be? I previously suffered a virus attack but I managed to remove the virus successfully.
i think you are working with .net 1.1 ?
Thanks and Regards Sandeep
-
When I try to browse a page on a site am creating on my computer using localhost i.e. http://localhost/MySite/Login.aspx, the browser returns some un-intelligible (to me) output which from its form looks pretty much like some error message. When I right-click on the page and check Encoding it is set to "Chinese Simplified (GB2312)" yet I did not set it thus. When I try to browse using 127.0.0.1 i.e. http://127.0.0.1/MySite/Login.aspx the login page loads okay. What could the problem be? I previously suffered a virus attack but I managed to remove the virus successfully.
John Gathogo wrote:
When I right-click on the page and check Encoding it is set to "Chinese Simplified (GB2312)"
If its about encoding,you should do this : right click on your form to access the " document properties " then change the charset to " unicode utf8 " ... or you can also save your pages as ( "save as " ) unicode utf8 by clicking the little arrow on the "save" button whiling saving your page ... if you have any problems please tell ...
-
John Gathogo wrote:
When I right-click on the page and check Encoding it is set to "Chinese Simplified (GB2312)"
If its about encoding,you should do this : right click on your form to access the " document properties " then change the charset to " unicode utf8 " ... or you can also save your pages as ( "save as " ) unicode utf8 by clicking the little arrow on the "save" button whiling saving your page ... if you have any problems please tell ...
Problem may be bigger than that since it is not just the site am creating. I can't use http://localhost for anything on my computer. I have to use http://IPADDRESS
-
John Gathogo wrote:
When I right-click on the page and check Encoding it is set to "Chinese Simplified (GB2312)"
If its about encoding,you should do this : right click on your form to access the " document properties " then change the charset to " unicode utf8 " ... or you can also save your pages as ( "save as " ) unicode utf8 by clicking the little arrow on the "save" button whiling saving your page ... if you have any problems please tell ...
I figured it all The content of the host file on my computer had been modified to: The file is usu. found in :/WINDOWS/system32/drivers/etc/hosts. 60.190.223.106 localhost 60.190.223.106 www.4199.com 60.190.223.106 www.9505.com 60.190.223.106 www.huoche.com.cn 60.190.223.106 www.lieche.cn 60.190.223.106 www.piao.com.cn 60.190.223.106 train.hepost.com 60.190.223.106 www.huochepiao.com A typical host file should take the following form: # Copyright © 1993-1999 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host 127.0.0.1 localhost Add I believe this is the culprit: Trojan.Qhosts.B is a Trojan horse that modifies the hosts file in order to redirect users to incorrect IP addresses when lookups are performed for eBay-related domains.