Re: Invalid byte sequence when accepting event
Michael J Rubinsky <[email protected]> Thu, 27 Jul 2017 12:30:59 +0000
| Newsgroups | gmane.comp.horde.kronolith |
|---|---|
| Message-ID | <20170727123059.Horde.FZCp5PxAODftz9TA1QoyMVA@h4.theupstairsroom.com> |
Quoting [email protected]: > Zitat von Jan Schneider <[email protected]>: > >> Zitat von [email protected]: >> >>> Hello, >>> >>> today we got the following error when trying to accept a invite >>> from one Horde user to another : >>> >>> Jul 26 16:31:47 webmail HORDE: [kronolith] SQL QUERY FAILED: >>> SQLSTATE[22021]: Character not in repertoire: 7 ERROR: invalid >>> byte sequence fo >>> r encoding "UTF8": >>> 0xf6 0x72 0x67 0x20 >>> INSERT INTO kronolith_events (event_id, event_uid, event_creator_id, >>> event_title, event_description, event_location, event_timezone, >>> event_url, event_private, event_status, event_attendees, >>> event_resources, event_modified, event_start, event_end, >>> event_allday, >>> event_alarm, event_alarm_methods, event_recurtype, >>> calendar_id) VALUES >>> ('m3S_DfjWK-KhdFuqJQHNyCH', >>> >>> '040000008200E00074C5B7101A82E00800000000170A59505D5FCE41AA27C7A904474 >>> D1B100000009378262B6DF6AC4ABEF0A516E6103476', 'xxxx', >>> 'Führungsrunde', '', '', NULL, '', 0, 2, >>> >>> 'a:3:{s:16:"[email protected]";a:3:{s:10:"attendance";i:1;s:8:"response >>> ";i:1;s:4:"name";s:16:"[email protected]";}s:21:"[email protected]" >>> >>> ;a:3:{s:10:"attendance";i:1;s:8:"response";i:1;s:4:"name";s:16:"J▒rg >>> xxxx";}s:17:"[email protected]";a:3:{s:10:"attendance";i:1;s:8: >>> "response";i:1;s:4:"name";s:14:"xxxx xxxx";}}', 'a:0:{}', >>> 1501079507, '2017-11-23 08:00:00', '2017-11-23 16:00:00', >>> 0, 15, 'N;', >>> 0, 'xxxx') [pid 32203 on line 236 of >>> "/usr/share/php/Horde/Db/Adapter/Pdo/Base.php"] >>> >>> >>> For sure it looks like the display name is not properly encoded, >>> but can soemone explain how to avoid this Problem. All the >>> Horde/Kronolith are at latest versions and the database used ist >>> PostgreSQL. Browser used from the failing Client is Chrome on >>> Windows OS. >>> >>> Thanks for any hints >>> >>> Andreas >> >> We would probably have to normalize any external data to UTF-8 >> before storing to the backend. > > Hm, yes. Further investigation showed that the invite was created by > Windows 10 Mail App tied with ActiveSync to the horde installation. > It looks like the display name of the attendee is not properly > encoded. I can send the raw E-Mail invite to some developer if this > would help? The funny thing is, ActiveSync is supposed to transmit UTF-8 data exclusively anyway... > Regards > > Andreas > > > -- > kronolith mailing list > Frequently Asked Questions: http://wiki.horde.org/FAQ > To unsubscribe, mail: [email protected] -- mike The Horde Project http://www.horde.org https://www.facebook.com/hordeproject https://www.twitter.com/hordeproject -- kronolith mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]
(unnamed)
(application/pgp-keys, 9.1 KB) - not displayed
signature.asc
(application/pgp-signature, 821 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4 iQIcBAABAgAGBQJZed0EAAoJEJGSgkbRsxbbU/IP+QHuu062QHz62/6CYs5C/EvZ XW0nqwbwApFcF+OT/48r8911xz4lqHLtfFr282plftop/y8rX40N3cip1KjC34dH /CFhj7aVR4qalIbmZ0MTNB82HPsg0NGZFyRBaAE0nYyI2cxWi6Jy14RuRed5Rkp/ U6i6YrxS0t2NW6kIzgMM1A0HIQPYtnaaX9KZmuGxbSwgzz3AEzq1x5R2pDXSIXAF Tz6yMVlwQIlnBGeGKuXvWz/J+gFlb3vbrW/F8VsPv1cM9IlOSerHejjZrhzCPEIX 6QktqNeESRvXhdKsi0UVJb+E1sQ2+capSNFORnuYd3F/4ZWsPOLuDQWz5iQGvnrX Px3G5xUaubXRt2u6IgGF7pMnWtVvCOq3Ht6DAGDV0ZcENlSoqH0Z0S0XJYLIq0te lcBQBaB7/qSoBVjpmBrZjxnUN3zmnC2tp3sG9Ikuz2KwkIfXFRLkXs9NmHis6XUr CpdLJMygTjg0o1XIad/jvmwO5hJw1ahd2PICErGaNmMfVjYUJMrTadNdt59LQ0vC fPFy+m4xHB795RFVeCfYjxTrPJxFEKnL5+wEB9jbhO6qTbehx/d4nYDw/7RW8/vx T76o0Xwb9/tohV1l5jwuS22DZoWpz2Bf1sDoUW0sZwrJqXaQkKH3NIHVt2596Bqt +VH10ec+a4FQeYyEPRzA =LxqD -----END PGP SIGNATURE-----