代碼: 選擇全部
Server charset encodingWARNING
You must set a correct charset encoding in your locale definition in the form: en_us.UTF-8. Please refer to setlocale man page. If your detected locale is C, please check the F.A.Q.. Detected locale: C (using UTF-8)
Suggestion : Set the AJXP_LOCALE parameter to the correct value in the conf/bootstrap_conf.php file
8.7 I have a warning concerning the character encoding when I first start AjaXplorer. What should I do?
Most distribution don’t set the locale used by the server filesystem in webserver startup script or php.ini configuration file. While it’s ok for most php application, AjaXplorer must know what character encoding the filename use in order to display them correctly.
A usual safe value is UTF-8, as most Posix system use UTF-8 internally because it’s language independant.
If you don’t know what to put there, you should try this:
Put UTF-8 and check that files named with your language special character (like é for French) are displayed correctly. If it’s working, don’t change this anymore.
Else, if you have shell access to your server, type:
export | grep « LANG »
The output usually says « lang_Country.encoding » (for example en_US.UTF8)
The encoding part is what your should put (UTF-8).
If you don’t have a shell access, please check Wikipedia for your language most used character encoding (for example, in France it’s ISO8859-1), and try with this encoding.
If you are uploading your file by FTP, chance are high that the encoding you need is ISO8859-1 (as most FTP server use this encoding)
If none of the above works for you, please ask on AjaXplorer forum, and blame your distribution vendor.