[Tickets #8685] Re: Json utf8 response object
bugs at horde.org
bugs at horde.org
Mon Nov 9 16:13:31 UTC 2009
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/8685
------------------------------------------------------------------------------
Ticket | 8685
Updated By | nd at syndicat.com
Summary | Json utf8 response object
Queue | Horde Framework Packages
Version | FRAMEWORK_3
Type | Bug
State | Feedback
Priority | 2. Medium
Milestone | 3.3.6
Patch |
Owners |
------------------------------------------------------------------------------
nd at syndicat.com (2009-11-09 11:13) wrote:
> In Horde 3.3.5 the response object from Kronolith is using wrong charset.
>
> If Horde API is used to Power External Sites like this one:
> http://theupstairsroom.com/67
>
> Problem:
> Strings get cut off
>
> Reason:
> kronolith/lib/Driver/sql.php (line 453)
> Kronolith_Event_sql turns all utf8 strings into
> $GLOBALS['_HORDE_STRING_CHARSET'] = 'iso-8859-1';
I can confirm this solution (thanks to Roman too). It solves the
described problem for me (had that problems with strings containing
german 'umlauts') - i use JSON with python-simplejson (in ZOPE)
externally. With XMLRPC i had not such charset problems.
good work ;)
hth
cheers,
Niels
---
Niels Dettenbach
http://www.syndicat.com
http://www.stadtradio-goettingen.de
More information about the bugs
mailing list