6.0.0-alpha12
6/12/25

[#9911] json_encode error when viewing e-mail list or e-mail content
Summary json_encode error when viewing e-mail list or e-mail content
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester akif-antispam (at) dinc (dot) org
Created 04/14/2011 (5173 days ago)
Due
Updated 04/16/2011 (5171 days ago)
Assigned
Resolved 04/14/2011 (5173 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/16/2011 09:01:35 AM akif-antispam (at) dinc (dot) org Comment #5 Reply to this comment
I'm not sure if it has anything todo with the below said problem but 
when sending mails from IMP utf characters (turkish ??, ?I, ??, i?) 
are replaced by questionmarks. The indication on the right bottom 
popping up showing the mail subject and saying that the mail has been 
sent show the characters but when received the chars are substituted.
04/15/2011 05:32:29 AM Michael Slusarz Comment #4 Reply to this comment
Sounds like this doesn't affect message display at all - is that right?
Correct.
Would be great if we had a way to log expected and non-critical 
errors like this at a lower log level, but probably not a big deal 
unless there are a ton of them (for volume).
Unfortunately, not much we can do about json_encode() error messages.   
We can't fully disable (with '@') because then it becomes impossible 
to debug and json_last_error() is not available until 5.3.
04/15/2011 12:51:37 AM Chuck Hagenbuch Comment #3 Reply to this comment
Sounds like this doesn't affect message display at all - is that right?

Would be great if we had a way to log expected and non-critical errors 
like this at a lower log level, but probably not a big deal unless 
there are a ton of them (for volume).
04/14/2011 05:20:09 PM Michael Slusarz Comment #2
State ⇒ Not A Bug
Priority ⇒ 1. Low
Reply to this comment
This is not unexpected - it can be caused by a mail message with wrong 
charset encoding.
04/14/2011 10:11:29 AM akif-antispam (at) dinc (dot) org Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ json_encode error when viewing e-mail list or e-mail content
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
I get the below error in my syslog when viewing e-mails or e-mail list 
in IMP with H4.

Apr 14 12:06:43 mail HORDE: HORDE [imp] PHP ERROR: json_encode(): 
Invalid UTF-8 sequence in argument [pid 11837 on line 242 of 
"/usr/share/php/Horde/Serialize.php"]

Saved Queries