diff options
Diffstat (limited to 'lib/XML/LibXML/Document.pod')
-rw-r--r-- | lib/XML/LibXML/Document.pod | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/XML/LibXML/Document.pod b/lib/XML/LibXML/Document.pod index 2cdc576..f433f9b 100644 --- a/lib/XML/LibXML/Document.pod +++ b/lib/XML/LibXML/Document.pod @@ -325,7 +325,10 @@ The format parameter has the same behaviour as in toString(). $str = $document->toStringHTML(); I<<<<<< toStringHTML >>>>>> serialize the tree to a byte string in the document encoding as HTML. With this -method indenting is automatic and managed by libxml2 internally. +method indenting is automatic and managed by libxml2 internally. Note the +string must contain <meta http-equiv="Content-Type" content="text/html; +charset=utf-8"> (rather than the newer <meta charset="utf-8">), else all +non-ASCII will become entities. =item serialize_html @@ -683,7 +686,7 @@ Petr Pajas =head1 VERSION -2.0207 +2.0209 =head1 COPYRIGHT |