Fixed bug #706: XML hex encoding UTF-8 chars out of range 0-255.
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 24 Oct 2006 08:05:45 +0000 (08:05 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 24 Oct 2006 08:05:45 +0000 (08:05 +0000)
commitd21d3b30a525282f427f81219bf5a0b42e45bb04
treeaa03d8ed5101e282c8f136bbd635140c93002582
parent78f8391d48d53549d01c002629deb00c7cf388cf
Fixed bug #706: XML hex encoding UTF-8 chars out of range 0-255.
In order to preserve UTF-8 sequences we must use xmlDocDumpMemoryEnc
instead of xmlDocDumpMemory. The former is only used if a charset
is given. YAZ reads that from the content-type HTTP header (;charset=).
This however, does not make sense for SRU GET. So for SRU GET we force
charset=utf-8 and use xmlDocDumpMemoryEnc.
src/soap.c