[Tickets #9529] Re: json_encode(): Invalid UTF-8 sequence in argument

bugs at horde.org bugs at horde.org
Mon Jan 24 22:20:29 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9529
------------------------------------------------------------------------------
  Ticket             | 9529
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | json_encode(): Invalid UTF-8 sequence in argument
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Assigned
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Horde Developers, Michael Slusarz
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2011-01-24 17:20) wrote:

>> Anyway, this is a Horde_Serialize issue, not an IMP issue.
>
> I thought this was an IMP issue since the message is displayed using  
> traditional view.

It's not displaying correctly because json_encode() is not encoding  
the string into valid UTF-8, so the in-browser decoding of the JSON  
response is failing.  This is why you can view the message fine if  
viewing in a popup window - since the message there is loaded directly  
in HTML rather than via AJAX/JSON.






More information about the bugs mailing list