AW: [xml] encoding question

    My problem is complicated because of the following:
    - My first tree is latin1 (ISO-8859-1)
    This seems to be your problem. You cannot have a tree with
ISO-8859-1 encoding. The internal encoding of libxml2 is UTF-8
so all nodes you add to a tree MUST first be encoded in UTF-8.
You have to do the conversion to UTF-8 yourself, libxml2 will
not do it automatically.

Servus -- Alfred

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]