Summary | utf-8 error on attendee's addressbook search |
Queue | Kronolith |
Queue Version | 2.2-RC2 |
Type | Bug |
State | No Feedback |
Priority | 1. Low |
Owners | |
Requester | szimszon (at) oregpreshaz (dot) eu |
Created | 03/17/2008 (6330 days ago) |
Due | |
Updated | 11/09/2008 (6093 days ago) |
Assigned | 04/25/2008 (6291 days ago) |
Resolved | 11/09/2008 (6093 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
more information from you on why it doesn't work on your system.
Who could I make the problem more verbose? Could you send me a code
with more logging? What shall I do?
Taken from Chuck Hagenbuch
State ⇒ Stalled
information from you on why it doesn't work on your system.
http://lists.horde.org/archives/cvs/Week-of-Mon-20080421/077735.html
I downloaded the
"http://cvs.horde.org/co.php?r=1.1.2.2&p=1&f=kronolith%2Flib%2FJSON.php" and
replaced the JSON.php in /kronolith/lib but the result is the same as
previous.
I deleted my browser's cache restarted the apache deleted the horde
cache files... :(
State ⇒ Resolved
http://lists.horde.org/archives/cvs/Week-of-Mon-20080421/077735.html
State ⇒ Assigned
Assigned to Chuck Hagenbuch
Address search uses JSON; you probably need a newer PHP json module.
Or only kronolith use json for address expansion/search and IMP not?
State ⇒ Duplicate
Address search uses JSON; you probably need a newer PHP json module.
bug 5955. :)bug #6457... :)bug 5955. :)bug 6457which might beanother symptom of the same root problem.
bug #6457... :)bug 6457which might beanother symptom of the same root problem.
Status: install ok installed
Priority: optional
Section: web
Installed-Size: 20
Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Architecture: all
Version: 5.2.0-8+etch10
Queue ⇒ Kronolith
bug 6457which might be anothersymptom of the same root problem.
use it in IMP if it's available, but not in Kronolith. This could
make the difference.
dpkg -s php5-json
Package: php5-json
Status: install ok installed
Installed-Size: 60
Maintainer: Pierre Habouzit <madcoder@debian.org>
Architecture: i386
Source: php-json-ext
Version: 1.2.1-3.2
extension=json.so
it in IMP if it's available, but not in Kronolith. This could make the
difference.
$js_code[] = 'var identities = ' .
IMP_Serialize_JSON::encode(String::convertCharset($js_ident,
NLS::getCharset()), 'utf-8');
$conf['sql']['persistent'] = true;
$conf['sql']['username'] = 'xxxxxxx';
$conf['sql']['password'] = '**********';
$conf['sql']['hostspec'] = 'localhost';
$conf['sql']['port'] = 0;
$conf['sql']['protocol'] = 'tcp';
$conf['sql']['database'] = 'hordewebmail2';
$conf['sql']['charset'] = 'utf-8';
$conf['sql']['phptype'] = 'pgsql';
I found some interesting line but it seems to have no effect to my problem.
In kronolith's imle.php I found the line:
echo
KRONOLITH_Serialize_JSON::encode(String::convertCharset($result,
NLS::getCharset(), 'utf-8'));
(String::convertCharset($result, NLS::getCharset(), 'utf-8' -->)<-- );
And in IMP's compose.php:
$js_code[] = 'var identities = ' .
IMP_Serialize_JSON::encode(String::convertCharset($js_ident,
NLS::getCharset()), 'utf-8');
(String::convertCharset($js_ident, NLS::getCharset() -->)<-- , 'utf-8');
In kronolith's code, the 'utf-8' is the argument of
String::convertCharset but not in IMP's code...
Anyway change it in kronolith doesn't do the trick :(
State ⇒ Feedback
kronolith/imple.php where the conversion happens from the turba api to
json (javascript) code.
How can I trace the problem back?
New Attachment: attendee2_wrong.png
New Attachment: attendee_wrong.png
New Attachment: new_mail_ok.png
Priority ⇒ 1. Low
State ⇒ Unconfirmed
New Attachment: contact.png
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Type ⇒ Bug
Summary ⇒ utf-8 error on attendee's addressbook search
I have a contact named "Árvíztűrő Tükörfúrógép".
Everywhere looks ok but if I make a new event and I assign attendees to it.
The addressbook autoexpand looks bad.
My contact info: contact.png
If I make a new e-mail it's OK: new_mail_ok.png
Attendee expand wrong: attendee_wrong.png
Attendee wrong: attendee2_wrong.png