Let the machine automatically support the Chinese file name

xiaoxiao2021-03-06  85

Why is the same program that is fine on this machine, the change machine does not support Chinese file names or paths, very weird?

After a long period of project work and confusion, I finally discovered the mystery: Why do some machines support Chinese, and other machines are not supported:

To see the solution:

1, the page opens "Save as" with Notepad and selects "UTF-8" as the encoding method, not the default ANSI. (This is just a premise)

2. Open the registry, make sure the hkey_local_machine / system / currentcontrolset / service / inetinfo / parameters / favordbcs value is 0

3. After modifying this value, you must run the Iisreset to restart the IIS service.

(This is the key)

Find everything OK! !

转载请注明原文地址:https://www.9cbs.com/read-98305.html

New Post(0)