To test:
[1] Install the translation for a language that uses
non-Latin-1 characters, such as Russian.
[2] Start the XUL staff client and open the reports
interface. Note that labels are mangled.
[3] Apply the Apache configuration changes in this patch,
reload Apache, clear cache in the staff client, and
reload the reports UI. The labels should now be
displayed correctly.
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
# ----------------------------------------------------------------------------------
# Reports GUI
# ----------------------------------------------------------------------------------
+<LocationMatch /reports.*\.x?html>
+ Options +Includes
+ XMLEntContentType "text/html; charset=utf-8"
+ AddOutputFilter INCLUDES;XMLENT .xhtml
+ AddOutputFilter INCLUDES;XMLENT .html
+</LocationMatch>
+
<LocationMatch /reports>
Options +Includes
AddOutputFilter INCLUDES;XMLENT .xhtml
# ----------------------------------------------------------------------------------
# Reports GUI
# ----------------------------------------------------------------------------------
+<LocationMatch /reports.*\.x?html>
+ SSILegacyExprParser on
+ Options +Includes
+ XMLEntContentType "text/html; charset=utf-8"
+ AddOutputFilter INCLUDES;XMLENT .xhtml
+ AddOutputFilter INCLUDES;XMLENT .html
+</LocationMatch>
+
<LocationMatch /reports>
SSILegacyExprParser on
Options +Includes