windows - Apache installation in folder with chinese characters in name -


I would like to install an Apache server under a folder like c: \ some \ 思 怞 怟 \ anything2 \ windows when I try to start the service, then it assumes that:

httpd: C: / anything / \ xe6 \ x80 \ x98 \ xe6 \ x80 \ x99 \ e6 \ x 80 xx Syntax Error \ 9a / anything2 / apache / conf / httpd.conf: ServerRoot should be a valid directory

Is anyone's solution?

Is anyone resolved?

Do not do that? : -)

Unicode filename on Windows is a major problem for software talking to the OS through a byte-based interface, such as the C standard library (SDI) functions performed by MS CRT.

Although other platforms are mostly standardized on UTF-8, as the encoding for file names, the Windows local-specific system default code page (misleadingly known as 'ANSI') Goes) uses. On Western Windows Install, which will normally be code page 1252 (similar to ISO-8859-1); If you install Chinese, you get code page 936 (similar to GB-2312). The files whose name does not fully fit within that code page - for example - 思 怞 怟 on a Western machine, or dobrin dains on the Chinese machine - Just be out of reach. / P>

You can change your system code page from the control panel -> regional options -> advanced -> language for non-Unicode programs. However, if you choose cp936 to get Chinese characters to get Apache, it still appears trying to enter the file name for UTIF-8. Unfortunately you can choose only from the limited range of those code pages, which are the default windows in different areas; You do not get UTF-8.

About running such a folder name, I can think of catching old school DOS 8.3 filename, which is only ASCII. You can see 8.3 filenames from the command line using the dir / x , if the feature is running in your file system. You might have a F8D5 ~ 1 with some names in the folder. Apache should be invited from this code instead of 思 怞 怟 and it should start at least ... However if you have more non-ASCII filenames then you can only load more problems Going.


Comments