mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03:00
Don't use encoding from meta tags when serializing. Only use the value in `doc->encoding`, matching the XML serializer. This is the actual encoding used when parsing. Stop modifying the input document by setting meta tags before serializing. Meta tags are now injected during serialization. Add full support for <meta charset=""> which is also used when adding meta tags. Align with HTML5 and implement the "algorithm for extracting a character encoding from a meta element". Only modify the encoding substring in Content-Type meta tags. Only switch encoding once when parsing. Fix htmlSaveFileFormat with a NULL encoding not to declare a misleading UTF-8 charset. Fixes #909.
Module libxml2-python ===================== This is the libxml2 python module, providing access to the libxml2 and libxslt (if available) libraries. For general informationss on those XML and XSLT libraries check their web pages at: https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home and https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home The latest version of the sources for this module and the associated libraries can be found at: https://gitlab.gnome.org/GNOME/libxml2/-/releases Binaries packages of the libxml2 and libxslt libraries can be found either on the FTP site for Linux, from external sources linked from the web pages, or as part of your set of packages provided with your operating system. NOTE: this module distribution is not the primary distribution of the libxml2 and libxslt Python binding code, but as the Python way of packaging those for non-Linux systems. The main sources are the libxml2 and libxslt tar.gz found on the site. One side effect is that the official RPM packages for those modules are not generated from the libxml2-python distributions but as part of the normal RPM packaging of those two libraries. The RPM packages can be found at: http://rpmfind.net/linux/rpm2html/search.php?query=libxml2-python http://rpmfind.net/linux/rpm2html/search.php?query=libxslt-python Daniel Veillard