-- Robert Castley <[EMAIL PROTECTED]> wrote
(on Monday, 20 October 2008, 11:59 AM +0100):
> I have a form (not using Zend_Form) that when submitted will call a XML-RPC
> request.
>  
> If a field in the form contains an umlaut or accute etc. then the value is
> getting stripped from the request.
>  
> I have tried using htmlentities on the form values submitted but this is still
> causing the value to be stripped from the request.
>  
> I am using ZF 1.6.2 at present.

Two questions for you:

  * Is the XML-RPC server Zend_XmlRpc_Server, or another implementation?
  * Are you using Zend_XmlRpc_Client?

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


> This is the array of data that the form is sending on to be using by XML-RPC
> client:
>  
> 
> Array
> 
> (
> 
>     [name] =>
> 
>     [location] => UK:ABR:ABRWEST
> 
>     [description] => Vid&eacute;o
> 
>     [category] => Geography
> 
>     [Image] => UK_ABR_ABRWEST.gif
> 
>     [savelevel] => savelevel
> 
> )
> 
>  
> 
> Robert W. Castley
> 
> Macro 4
> 
> 
>  
> 
> 
> ________________________________________________________________________
> This email has been scanned for all known viruses by the MessageLabs Email
> Security Service and the Macro 4 plc internal virus protection system.
> ________________________________________________________________________

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to