[kronolith] Horde_RPC::request for kronolith: umlaut problem

Jan Schneider jan at horde.org
Thu Oct 23 15:57:38 UTC 2008


Try http://wiki.horde.org/FAQ/Admin/Troubleshoot?referrer=FAQ%2FAdmin#toc2

Zitat von roman stachura <stachrom at gmail.com>:

> Hi
>
> If i do a Horde_RPC::request in Kronolith things work as expected,  
> till i  try to fetch a event titel with umlaut äöü.
> The result string will be empty.
>
> Inside Horde the event is displayed correctly.
>
> Its may a charset problem.
>
> Any Suggestion for solving this?
>
> $rpc_endpoint = 'http://your.url.ch/rpc.php';
>
> $rpc_options = array(
>           'user' => 'xxx',
>           'pass' => 'xxx'
>       );
>         // XML-RPC method to call
>   $rpc_method = 'calendar.listEvents';
>
>
>
>
> $rpc_parameters = array(
>                       'startstamp' => $_unix_timestamp_calendar_start,
>                       'endstamp' => $_unix_timestamp_calendar_stop,
>                       'calendar' => '$_calendar'
>               );
>
>
> // Process the request
> $results = Horde_RPC::request(
>   'jsonrpc',
>   $rpc_endpoint,
>   $rpc_method,
>   $rpc_parameters,
>   $rpc_options
>   );
>  $results = $results->result;
>
>
> --
> Kronolith mailing list - Join the hunt: http://horde.org/bounties/#kronolith
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org
>



Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the kronolith mailing list