Jesus M. Salvo Jr. wrote:
> Assuming I have the following code, where I try to send pound symbol:
>
>      Vector    params = new Vector();
>      Hashtable hashParams = new Hashtable();
>      hashParams.put( "msg", "£" );
>      params.add( hashParams );
>
>      client.execute( "XMLRPCHandler.getContent", params );
>
> Problem is that, the XML-RPC API sends
>     £
> as
>     £

That's what it is supposed to do.

Just do:

hashParams.put( "msg", "Â" );

and the system will deal with the encoding for you.

John Wilson
The Wilson Partnership
http://www.wilson.co.uk

Reply via email to