6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#15128] Normalize utf8mb3 charset before mbstring for MariaDB 10.6 and newer
*
Your Email Address
*
Spam protection
Enter the letters below:
.___. ..__ \ / . [__ | || \ >< | | |/\||__// \\__|
Comment
> MariaDB from 10.6 use utf8mb3 or utf8mb4 charsets which is not > recognized properly in Horde. > Problem is in calendar (kronolith), contacts (turba), etc. > > I try modify String.php for "normalize" charsets for mbstring, but I > don't known if it right place for it. > > --- /usr/share/pear/Horde/String.php 2022-12-14 18:03:07.231100525 +0100 > +++ /usr/share/pear/Horde/String.orig.php 2022-12-14 > 16:52:08.029930071 +0100 > @@ -157,12 +157,6 @@ > > /* Try mbstring. */ > if (Horde_Util::extensionExists('mbstring')) { > - > - /* Normalize for utf8mb */ > - $utf8mb = array('utf8mb3', 'utf8mb4', 'utf8'); > - $from = str_ireplace($utf8mb, 'utf-8', $from); > - $to = str_ireplace($utf8mb, 'utf-8', $to); > - > try { > $out = @mb_convert_encoding($input, $to, > self::_mbstringCharset($from)); > if (!empty($out)) { > > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers