[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kolab-users
Subject:    Re: Horde not able to preview email.
From:       Franz Skale <i.bin () dah ! am>
Date:       2012-02-23 12:34:35
Message-ID: 4F46325B.2010909 () dah ! am
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1




Hi again,
it seems that the problem is still open.
I found a horde maillist entry from Gunnar wrobel which tells me the
exact problem i have with 2.3.4.
Errorlog:
Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP Warning: 
json_encode() [<a href='function.json-encode'>function.json-encode</a>]:
Invalid UTF-8 sequence in argument in
/kolab/var/kolab/www/client/imp/lib/JSON.php on line 85, referer:
https://i.bin.dah.am/client/dimp/
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP Warning: 
json_encode() [<a href='function.json-encode'>function.json-encode</a>]:
Invalid UTF-8 sequence in argument in
/kolab/var/kolab/www/client/imp/lib/JSON.php on line 85, referer:
https://i.bin.dah.am/client/dimp/
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP Warning: 
json_encode() [<a href='function.json-encode'>function.json-encode</a>]:
Invalid UTF-8 sequence in argument in
/kolab/var/kolab/www/client/imp/lib/JSON.php on line 85, referer:
https://i.bin.dah.am/client/dimp/
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP Warning: 
json_encode() [<a href='function.json-encode'>function.json-encode</a>]:
Invalid UTF-8 sequence in argument in
/kolab/var/kolab/www/client/imp/lib/JSON.php on line 85, referer:
https://i.bin.dah.am/client/dimp/
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP Warning: 
json_encode() [<a href='function.json-encode'>function.json-encode</a>]:
Invalid UTF-8 sequence in argument in
/kolab/var/kolab/www/client/imp/lib/JSON.php on line 85, referer:
https://i.bin.dah.am/client/dimp/
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP Warning: 
json_encode() [<a href='function.json-encode'>function.json-encode</a>]:
Invalid UTF-8 sequence in argument in
/kolab/var/kolab/www/client/imp/lib/JSON.php on line 85, referer:
https://i.bin.dah.am/client/dimp/
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP Warning: 
json_encode() [<a href='function.json-encode'>function.json-encode</a>]:
Invalid UTF-8 sequence in argument in
/kolab/var/kolab/www/client/imp/lib/JSON.php on line 89, referer:
https://i.bin.dah.am/client/dimp/
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP Warning: 
json_encode() [<a href='function.json-encode'>function.json-encode</a>]:
Invalid UTF-8 sequence in argument in
/kolab/var/kolab/www/client/imp/lib/JSON.php on line 89, referer:
https://i.bin.dah.am/client/dimp/
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP Warning: 
json_encode() [<a href='function.json-encode'>function.json-encode</a>]:
Invalid UTF-8 sequence in argument in
/kolab/var/kolab/www/client/imp/lib/JSON.php on line 89, referer:
https://i.bin.dah.am/client/dimp/
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP Warning: 
json_encode() [<a href='function.json-encode'>function.json-encode</a>]:
Invalid UTF-8 sequence in argument in
/kolab/var/kolab/www/client/imp/lib/JSON.php on line 89, referer:
https://i.bin.dah.am/client/dimp/
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP Warning: 
json_encode() [<a href='function.json-encode'>function.json-encode</a>]:
Invalid UTF-8 sequence in argument in
/kolab/var/kolab/www/client/imp/lib/JSON.php on line 89, referer:
https://i.bin.dah.am/client/dimp/
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP Warning: 
json_encode() [<a href='function.json-encode'>function.json-encode</a>]:
Invalid UTF-8 sequence in argument in
/kolab/var/kolab/www/client/imp/lib/JSON.php on line 89, referer:
https://i.bin.dah.am/client/dimp/

I also did the debug thing on line 85 but the messages are not getting
into the error.log.
Any suggestion how to track down the problem ?


Kind regards

Franz


Am 23.02.12 01:43, schrieb Franz Skale:
>
> Hi,
> same problem but no solution.
> The only working browser for me is safari.
> IE and FF throw messsages, that the message is formattet in Non-UTF8
> which isn't true.
> They are formatted in UTF-8 and FF IE and Safari are configure to use
> UTF-8 charset.
> The server didn't change the locales sind a year. Only dimp produces
> these messages.
> IMP works as expected.
> As a workaround double click the mail to see the contents.
> Nevertheless, i don't know why the charset on the server should not be
> able to support UTF-8 if it's the DEFAULT.
>
> TEST:
> Send me an email utf-8 encoded.
> Verified with isutf8 (OK, retval 0)
>
> Differences is found when using iconv -l on the system and on the kolab
> version.
>
> Links i found regarding this particular problem:
> http://lists.horde.org/archives/imp/Week-of-Mon-20110822/052580.html
>
>
> Rgds.
> Franz
>
> Am 17.01.12 16:47, schrieb Alvin:
> > On 14/01/2012 20:34, Alvin wrote:
> >> [...]
> >> I'll try to backtrack. Can someone answer me if this is the usual course
> >> of action to fix this?
> >> - dpgk-reconfigure locales (choose some .UTF-8 locales, choose a
default,
> >> like en_US.UTF-8)
> >> - rm -v /kolab/var/kolab/webclient_data/tmp/cache_*
> >> - /kolab/bin/openpkg rc apache restart
>
> > Found it. The last step should be:
> > - Clear your browser's cache.
>
> > _______________________________________________
> > Kolab-users mailing list
> > Kolab-users@kolab.org
> > https://kolab.org/mailman/listinfo/kolab-users
>
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users@kolab.org
> https://kolab.org/mailman/listinfo/kolab-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9GMlsACgkQwXH75yyXWZs5uwCdFtIJ0Ap2G8rK9aXrB+PEY60n
5Y0AoMzZHbOxXl6BVMmrv+X6V0146SYL
=YgGH
-----END PGP SIGNATURE-----


[Attachment #5 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    -----BEGIN PGP SIGNED MESSAGE-----<br>
    Hash: SHA1<br>
    <br>
    <br>
    <br>
    <br>
    Hi again,<br>
    it seems that the problem is still open.<br>
    I found a horde maillist entry from Gunnar wrobel which tells me the
    exact problem i have with 2.3.4.<br>
    Errorlog:<br>
    Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP Warning: 
    json_encode() [&lt;a
    href='function.json-encode'&gt;function.json-encode&lt;/a&gt;]:
    Invalid UTF-8 sequence in argument in
    /kolab/var/kolab/www/client/imp/lib/JSON.php on line 85, referer:
    <a class="moz-txt-link-freetext" \
href="https://i.bin.dah.am/client/dimp/">https://i.bin.dah.am/client/dimp/</a><br>  \
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP  Warning:  json_encode() \
[&lt;a  href='function.json-encode'&gt;function.json-encode&lt;/a&gt;]:
    Invalid UTF-8 sequence in argument in
    /kolab/var/kolab/www/client/imp/lib/JSON.php on line 85, referer:
    <a class="moz-txt-link-freetext" \
href="https://i.bin.dah.am/client/dimp/">https://i.bin.dah.am/client/dimp/</a><br>  \
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP  Warning:  json_encode() \
[&lt;a  href='function.json-encode'&gt;function.json-encode&lt;/a&gt;]:
    Invalid UTF-8 sequence in argument in
    /kolab/var/kolab/www/client/imp/lib/JSON.php on line 85, referer:
    <a class="moz-txt-link-freetext" \
href="https://i.bin.dah.am/client/dimp/">https://i.bin.dah.am/client/dimp/</a><br>  \
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP  Warning:  json_encode() \
[&lt;a  href='function.json-encode'&gt;function.json-encode&lt;/a&gt;]:
    Invalid UTF-8 sequence in argument in
    /kolab/var/kolab/www/client/imp/lib/JSON.php on line 85, referer:
    <a class="moz-txt-link-freetext" \
href="https://i.bin.dah.am/client/dimp/">https://i.bin.dah.am/client/dimp/</a><br>  \
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP  Warning:  json_encode() \
[&lt;a  href='function.json-encode'&gt;function.json-encode&lt;/a&gt;]:
    Invalid UTF-8 sequence in argument in
    /kolab/var/kolab/www/client/imp/lib/JSON.php on line 85, referer:
    <a class="moz-txt-link-freetext" \
href="https://i.bin.dah.am/client/dimp/">https://i.bin.dah.am/client/dimp/</a><br>  \
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP  Warning:  json_encode() \
[&lt;a  href='function.json-encode'&gt;function.json-encode&lt;/a&gt;]:
    Invalid UTF-8 sequence in argument in
    /kolab/var/kolab/www/client/imp/lib/JSON.php on line 85, referer:
    <a class="moz-txt-link-freetext" \
href="https://i.bin.dah.am/client/dimp/">https://i.bin.dah.am/client/dimp/</a><br>  \
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP  Warning:  json_encode() \
[&lt;a  href='function.json-encode'&gt;function.json-encode&lt;/a&gt;]:
    Invalid UTF-8 sequence in argument in
    /kolab/var/kolab/www/client/imp/lib/JSON.php on line 89, referer:
    <a class="moz-txt-link-freetext" \
href="https://i.bin.dah.am/client/dimp/">https://i.bin.dah.am/client/dimp/</a><br>  \
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP  Warning:  json_encode() \
[&lt;a  href='function.json-encode'&gt;function.json-encode&lt;/a&gt;]:
    Invalid UTF-8 sequence in argument in
    /kolab/var/kolab/www/client/imp/lib/JSON.php on line 89, referer:
    <a class="moz-txt-link-freetext" \
href="https://i.bin.dah.am/client/dimp/">https://i.bin.dah.am/client/dimp/</a><br>  \
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP  Warning:  json_encode() \
[&lt;a  href='function.json-encode'&gt;function.json-encode&lt;/a&gt;]:
    Invalid UTF-8 sequence in argument in
    /kolab/var/kolab/www/client/imp/lib/JSON.php on line 89, referer:
    <a class="moz-txt-link-freetext" \
href="https://i.bin.dah.am/client/dimp/">https://i.bin.dah.am/client/dimp/</a><br>  \
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP  Warning:  json_encode() \
[&lt;a  href='function.json-encode'&gt;function.json-encode&lt;/a&gt;]:
    Invalid UTF-8 sequence in argument in
    /kolab/var/kolab/www/client/imp/lib/JSON.php on line 89, referer:
    <a class="moz-txt-link-freetext" \
href="https://i.bin.dah.am/client/dimp/">https://i.bin.dah.am/client/dimp/</a><br>  \
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP  Warning:  json_encode() \
[&lt;a  href='function.json-encode'&gt;function.json-encode&lt;/a&gt;]:
    Invalid UTF-8 sequence in argument in
    /kolab/var/kolab/www/client/imp/lib/JSON.php on line 89, referer:
    <a class="moz-txt-link-freetext" \
href="https://i.bin.dah.am/client/dimp/">https://i.bin.dah.am/client/dimp/</a><br>  \
[Thu Feb 23 13:24:38 2012] [error] [client 84.119.45.6] PHP  Warning:  json_encode() \
[&lt;a  href='function.json-encode'&gt;function.json-encode&lt;/a&gt;]:
    Invalid UTF-8 sequence in argument in
    /kolab/var/kolab/www/client/imp/lib/JSON.php on line 89, referer:
    <a class="moz-txt-link-freetext" \
href="https://i.bin.dah.am/client/dimp/">https://i.bin.dah.am/client/dimp/</a><br>  \
<br>  I also did the debug thing on line 85 but the messages are not
    getting into the error.log.<br>
    Any suggestion how to track down the problem ?<br>
    <br>
    <br>
    Kind regards<br>
    <br>
    Franz<br>
    <br>
    <br>
    Am 23.02.12 01:43, schrieb Franz Skale:<br>
    <span style="white-space: pre;">&gt;<br>
      &gt; Hi,<br>
      &gt; same problem but no solution.<br>
      &gt; The only working browser for me is safari.<br>
      &gt; IE and FF throw messsages, that the message is formattet in
      Non-UTF8<br>
      &gt; which isn't true.<br>
      &gt; They are formatted in UTF-8 and FF IE and Safari are
      configure to use<br>
      &gt; UTF-8 charset.<br>
      &gt; The server didn't change the locales sind a year. Only dimp
      produces<br>
      &gt; these messages.<br>
      &gt; IMP works as expected.<br>
      &gt; As a workaround double click the mail to see the contents.<br>
      &gt; Nevertheless, i don't know why the charset on the server
      should not be<br>
      &gt; able to support UTF-8 if it's the DEFAULT.<br>
      &gt;<br>
      &gt; TEST:<br>
      &gt; Send me an email utf-8 encoded.<br>
      &gt; Verified with isutf8 (OK, retval 0)<br>
      &gt;<br>
      &gt; Differences is found when using iconv -l on the system and on
      the kolab<br>
      &gt; version.<br>
      &gt;<br>
      &gt; Links i found regarding this particular problem:<br>
      &gt;
      <a class="moz-txt-link-freetext" \
href="http://lists.horde.org/archives/imp/Week-of-Mon-20110822/052580.html">http://lists.horde.org/archives/imp/Week-of-Mon-20110822/052580.html</a><br>
  &gt;<br>
      &gt;<br>
      &gt; Rgds.<br>
      &gt; Franz<br>
      &gt;<br>
      &gt; Am 17.01.12 16:47, schrieb Alvin:<br>
      &gt; &gt; On 14/01/2012 20:34, Alvin wrote:<br>
      &gt; &gt;&gt; [...]<br>
      &gt; &gt;&gt; I'll try to backtrack. Can someone answer me if this
      is the usual course<br>
      &gt; &gt;&gt; of action to fix this?<br>
      &gt; &gt;&gt; - dpgk-reconfigure locales (choose some .UTF-8
      locales, choose a default,<br>
      &gt; &gt;&gt; like en_US.UTF-8)<br>
      &gt; &gt;&gt; - rm -v /kolab/var/kolab/webclient_data/tmp/cache_*<br>
      &gt; &gt;&gt; - /kolab/bin/openpkg rc apache restart<br>
      &gt;<br>
      &gt; &gt; Found it. The last step should be:<br>
      &gt; &gt; - Clear your browser's cache.<br>
      &gt;<br>
      &gt; &gt; _______________________________________________<br>
      &gt; &gt; Kolab-users mailing list<br>
      &gt; &gt; <a class="moz-txt-link-abbreviated" \
                href="mailto:Kolab-users@kolab.org">Kolab-users@kolab.org</a><br>
      &gt; &gt; <a class="moz-txt-link-freetext" \
href="https://kolab.org/mailman/listinfo/kolab-users">https://kolab.org/mailman/listinfo/kolab-users</a><br>
  &gt;<br>
      &gt;<br>
      &gt; _______________________________________________<br>
      &gt; Kolab-users mailing list<br>
      &gt; <a class="moz-txt-link-abbreviated" \
                href="mailto:Kolab-users@kolab.org">Kolab-users@kolab.org</a><br>
      &gt; <a class="moz-txt-link-freetext" \
href="https://kolab.org/mailman/listinfo/kolab-users">https://kolab.org/mailman/listinfo/kolab-users</a></span><br>
  <br>
    -----BEGIN PGP SIGNATURE-----<br>
    Version: GnuPG v1.4.11 (Darwin)<br>
    Comment: Using GnuPG with Mozilla - <a class="moz-txt-link-freetext" \
href="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</a><br>  <br>
    iEYEARECAAYFAk9GMlsACgkQwXH75yyXWZs5uwCdFtIJ0Ap2G8rK9aXrB+PEY60n<br>
    5Y0AoMzZHbOxXl6BVMmrv+X6V0146SYL<br>
    =YgGH<br>
    -----END PGP SIGNATURE-----<br>
    <br>
  </body>
</html>



_______________________________________________
Kolab-users mailing list
Kolab-users@kolab.org
https://kolab.org/mailman/listinfo/kolab-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic