From: Christophe Jaillet To use it with a libxml2-based module that isn't explicitly enabled for
- mod_xml2enc, you will have to configure the filter chain yourself.
- So to use it with a filter foo provided by a module
- mod_foo to improve the latter's i18n support with HTML
- and XML, you could use
FilterProvider iconv xml2enc Content-Type $text/html
FilterProvider iconv xml2enc Content-Type $xml
@@ -125,15 +125,15 @@ can be automatically detected
server config
virtual host directory
.htaccess
-Version 2.4.0 and later; available as a third-party
-module for earlier versions.
If you are processing data with known encoding but no encoding
information, you can set this default to help mod_xml2enc process
the data correctly. For example, to work with the default value
- of Latin1 (iso-8859-1 specified in HTTP/1.0, use
- xml2EncDefault iso-8859-1
+ of Latin1 (iso-8859-1) specified in HTTP/1.0, use:
+
+xml2EncDefault iso-8859-1
+
@@ -171,4 +171,3 @@ module for earlier versions.
-