Hi Matthew,
Thanks for responding.
-----
Two questions for you:
* Is the XML-RPC server Zend_XmlRpc_Server, or another implementation?
>>> The server is another implementation
* Are you using Zend_XmlRpc_Client?
>>> Yes I am
>>> The thing to note here is that I am tracing out the XML that
>>> Zend_XmlRpc_Client is building up so this is before we even
>>> hit the server and this is where I see the values stripped.
In Zend_XmlRpc_Client, we actually cast all values to UTF-8 by default
(probably should be configurable). The only thing I can think of off the top
of my head is one of the following scenarios:
* Server implementation is not capable of receiving UTF-8 characters
* iconv not accurately detecting request character encoding, so the
re-encoding is faulty
>>>
Here is a complete dump for you taken using FireBug in FF 3.
This array contains original form value with no modification.
Array
(
[name] =>
[location] => UK:ABR:ABRWEST
[description] => D sseldorf
[category] => Geography
[Image] => UK_ABR_ABRWEST.gif
[savelevel] => savelevel
)
This array is post htmlentities convert.
Array
(
[name] =>
[location] => UK:ABR:ABRWEST
[description] => Düsseldorf
[category] => Geography
[Image] => UK_ABR_ABRWEST.gif
[savelevel] => savelevel
)
This is the Zend_XmlRpc_Client dump and the description field is blank.
<?xml version="1.0" encoding="UTF-8"?>
<methodCall><methodName>Forms.Process</methodName><params><param><value><str
ing>ZoneDetails</string>
</value></param><param><value><struct><member><name>name</name><value><strin
g/></value></member><member
><name>location</name><value><string>UK:ABR:ABRWEST</string></value></member
><member><name>description
</name><value><string/></value></member><member><name>category</name><value>
<string>Geography</string
></value></member><member><name>Image</name><value><string>UK_ABR_ABRWEST.gi
f</string></value></member
><member><name>savelevel</name><value><string>savelevel</string></value></me
mber></struct></value></param
></params></methodCall>
This is another dump using a description with no unusual characters and
description value is filled.
Array
(
[name] =>
[location] => UK:ABR:ABRWEST
[description] => Dusseldorf
[category] => Geography
[Image] => UK_ABR_ABRWEST.gif
[savelevel] => savelevel
)
Array
(
[name] =>
[location] => UK:ABR:ABRWEST
[description] => Dusseldorf
[category] => Geography
[Image] => UK_ABR_ABRWEST.gif
[savelevel] => savelevel
)
<?xml version="1.0" encoding="UTF-8"?>
<methodCall><methodName>Forms.Process</methodName><params><param><value><str
ing>ZoneDetails</string>
</value></param><param><value><struct><member><name>name</name><value><strin
g/></value></member><member
><name>location</name><value><string>UK:ABR:ABRWEST</string></value></member
><member><name>description
</name><value><string>Dusseldorf</string></value></member><member><name>cate
gory</name><value><string
>Geography</string></value></member><member><name>Image</name><value><string
>UK_ABR_ABRWEST.gif</string
></value></member><member><name>savelevel</name><value><string>savelevel</st
ring></value></member></struct
></value></param></params></methodCall>
________________________________________________________________________
This email has been scanned for all known viruses by the MessageLabs Email
Security Service and the Macro 4 plc internal virus protection system.
________________________________________________________________________