Skip to content

Support encoding parameter in parse functions #129

@jameslan

Description

@jameslan
  • XmlDocument.fromString should encode the XML string using the specified encoding, or UTF-8 if none is provided.
  • XmlDocument.fromBuffer should pass the encoding parameter to the Libxml2 functions. The caller is responsible for providing the correct encoding, or relying on Libxml2’s automatic detection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions