What's the default character encoding for Apache's log files? There's no mention of encoding at all on http://httpd.apache.org/docs/2.4/mod/mod_log_config.html


There is not default charset, Apache's own messages are logged in the current locale, so the charset of that locale is used. Anything you print to stderr is logged verbatim, byte for byte, so the charset you use in those messages is used.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.