Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.10.0
-
None
-
None
-
All
Description
HTMLLayout does not write a meta tag in the html header to identify the encoding / charset used by file appender. I've created a quick fix to support UTF-8, by adding the following to HTMLLayout::appendHeader:
output.append(LOG4CXX_STR("<meta http-equiv='Content-Type' content='text/html; charset=utf8' />"));
What needs to be done is to support a charset / encoding option for HTMLLayout or to set it according to the appender encoding option.
Ronen